Hi Troy,
Start by loading the .mot configuration file called:
SimpleStepDirAxis0.mot
I think the Gecko G203V drives are best driven using KFLOP's 3.3V LVTTL source-sink output mode. Select this mode by adding 8 to the channel number as described here:
Test if you can get each axis to move properly using open loop stepper mode from the KMotion Step Response Screen.
Regards
TK
Group: DynoMotion |
Message: 1072 |
From: tmday7 |
Date: 5/2/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Ok, maybe we need to go back further in setup. :)
I got no movement at all.
Troy
Tom Kerekes wrote:
>
> Hi Troy,
>
> Start by loading the .mot configuration file called:
>
> SimpleStepDirAxis0.mot
>
> I think the Gecko G203V drives are best driven using KFLOP's 3.3V
> LVTTL source-sink output mode. Select this mode by adding 8 to the channel
> number as described here:Â
>
> http://www.dynomotion.com/Help/StepAndDirection/StepAndDir.htm
>
> Test if you can get each axis to move properly using open loop stepper mode from
> the KMotion Step Response Screen.
>
> Regards
> TK
>
>
>
>
>
> ________________________________
> From: tmday7 <tmday@...>
> To: DynoMotion@yahoogroups.com
> Sent: Mon, May 2, 2011 11:08:45 AM
> Subject: [DynoMotion] KFLOP Setup on a Mill/Drill
>
> Â
> Hello Tom and all,
> I have setup a KFLOP on a Bridgeport type mill once, a couple years ago.(TK did
> all the hard work;) And hopefully this post will help others also, as i need it
> again :)
>
> Now iam working on a Mill/Drill like this one
> http://www.use-enco.com/CGI/INPDFF?PMPAGE=594&PMCTLG=00, except i built the
> column and Z Axis.
> (Ill post some pics later)
>
> Iam using 906 oz/in steppers, 2:1 pulley ratio on all 3 axis, Gecko G203V
> drives, PMDX-125 breakout board, 3/4 inch ballscrews and linear scales on all 3
> axis.
>
> All wiring from B.O.B. and KFLOP is already finished.I have been using Mach3 to
> control machine.(Ive been using Mach3 for a few years, thats what started this
> whole DIY CNC adventure. :))
>
> I have installed latest Kmotion software as per Dynomotions
> instructions..http://dynomotion.com/Help/KFLOPQuickStart/KFLOPQuickStart.htm,
> and show feedback from all scales in the Axis window of Kmotion.
>
> So Tom, whats the next steps to setting up KFLOP? :)
> Thanks,
> Troy
>
|
|
Group: DynoMotion |
Message: 1073 |
From: Tom Kerekes |
Date: 5/2/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Ok, cycle power on KFLOP so everything is in default state.
On the Digital I/O Screen set IO Bits 8 and 9 as outputs.
Toggle Bit8 (Step) on and off. Does the motor Step? If not check the pin with a voltmeter does it switch between ~0v and ~ 3V?
TK
Group: DynoMotion |
Message: 1074 |
From: tmday7 |
Date: 5/2/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
I am showing the 3V toggle as i toggle bit 8. But there is no movement of stepper motor. I know that Parallel cable from KFLOP to PMDX is good, as i have been using that cable on my Parallel Port with Mach3. But i will check pin at PMDX board just to be shore.
Troy
Tom Kerekeswrote:
>
> Ok, cycle power on KFLOP so everything is in default state.
>
> On the Digital I/O Screen set IO Bits 8 and 9 as outputs.
>
> Toggle Bit8 (Step) on and off. Does the motor Step? If not check the pin with
> a voltmeter does it switch between ~0v and ~ 3V?
>
> TK
>
>
>
>
> ________________________________
> From: tmday7 <tmday@...>
> To: DynoMotion@yahoogroups.com
> Sent: Mon, May 2, 2011 3:13:07 PM
> Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
>
> Â
> Ok, maybe we need to go back further in setup. :)
> I got no movement at all.
> Troy
>
> Tom Kerekes wrote:
> >
> > Hi Troy,
> >
> > Start by loading the .mot configuration file called:
> >
> > SimpleStepDirAxis0.mot
> >
> > I think the Gecko G203V drives are best driven using KFLOP's 3.3V
> > LVTTLÃÂ source-sink output mode.ÃÂ Select this mode by adding 8 to the channel
> > number as described here:ÃÂ
> >
> > http://www.dynomotion.com/Help/StepAndDirection/StepAndDir.htm
> >
> > Test if you can get each axis to move properly using open loop stepper mode
> >from
> >
> > the KMotion Step Response Screen.
> >
> > Regards
> > TK
> >
> >
> >
> >
> >
> > ________________________________
> > From: tmday7 <tmday@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Mon, May 2, 2011 11:08:45 AM
> > Subject: [DynoMotion] KFLOP Setup on a Mill/Drill
> >
> > ÃÂ
> > Hello Tom and all,
> > I have setup a KFLOP on a Bridgeport type mill once, a couple years ago.(TK did
> >
> > all the hard work;) And hopefully this post will help others also, as i need it
> >
> > again :)
> >
> > Now iam working on a Mill/Drill like this one
> > http://www.use-enco.com/CGI/INPDFF?PMPAGE=594&PMCTLG=00, except i built the
> > column and Z Axis.
> > (Ill post some pics later)
> >
> > Iam using 906 oz/in steppers, 2:1 pulley ratio on all 3 axis, Gecko G203V
> > drives, PMDX-125 breakout board, 3/4 inch ballscrews and linear scales on all 3
> >
> > axis.
> >
> > All wiring from B.O.B. and KFLOP is already finished.I have been using Mach3 to
> >
> > control machine.(Ive been using Mach3 for a few years, thats what started this
>
> > whole DIY CNC adventure. :))
> >
> > I have installed latest Kmotion software as per Dynomotions
> > instructions..http://dynomotion.com/Help/KFLOPQuickStart/KFLOPQuickStart.htm,
> > and show feedback from all scales in the Axis window of Kmotion.
> >
> > So Tom, whats the next steps to setting up KFLOP? :)
> > Thanks,
> > Troy
> >
>
|
|
Group: DynoMotion |
Message: 1075 |
From: tmday7 |
Date: 5/2/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Checked cable and all is good.
2 things i noticed when toggling the Bit8, 1st is there is a LED on the PMDX 125 board that shows Steps. When i toggle the Bit8, the Steps LED on the PMDX will light up, but still no movement, unless it is so small that motors wont move?
2nd is, when i toggle Bit8 Limit +1, Home 2 and 3 and the #44 bit will toggle the State.
Here is link to the PMDX manual if that helps.
Thanks,
Troy
--- "tmday7" wrote:
>
> I am showing the 3V toggle as i toggle bit 8. But there is no movement of stepper motor. I know that Parallel cable from KFLOP to PMDX is good, as i have been using that cable on my Parallel Port with Mach3. But i will check pin at PMDX board just to be shore.
>
> Troy
>
>
> Tom Kerekeswrote:
> >
> > Ok, cycle power on KFLOP so everything is in default state.
> >
> > On the Digital I/O Screen set IO Bits 8 and 9 as outputs.
> >
> > Toggle Bit8 (Step) on and off. Does the motor Step? If not check the pin with
> > a voltmeter does it switch between ~0v and ~ 3V?
> >
> > TK
> >
> >
> >
> >
> > ________________________________
> > From: tmday7 <tmday@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Mon, May 2, 2011 3:13:07 PM
> > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> >
> > Â
> > Ok, maybe we need to go back further in setup. :)
> > I got no movement at all.
> > Troy
> >
> > Tom Kerekes wrote:
> > >
> > > Hi Troy,
> > >
> > > Start by loading the .mot configuration file called:
> > >
> > > SimpleStepDirAxis0.mot
> > >
> > > I think the Gecko G203V drives are best driven using KFLOP's 3.3V
> > > LVTTLÃÂ source-sink output mode.ÃÂ Select this mode by adding 8 to the channel
> > > number as described here:ÃÂ
> > >
> > > http://www.dynomotion.com/Help/StepAndDirection/StepAndDir.htm
> > >
> > > Test if you can get each axis to move properly using open loop stepper mode
> > >from
> > >
> > > the KMotion Step Response Screen.
> > >
> > > Regards
> > > TK
> > >
> > >
> > >
> > >
> > >
> > > ________________________________
> > > From: tmday7 <tmday@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Mon, May 2, 2011 11:08:45 AM
> > > Subject: [DynoMotion] KFLOP Setup on a Mill/Drill
> > >
> > > ÃÂ
> > > Hello Tom and all,
> > > I have setup a KFLOP on a Bridgeport type mill once, a couple years ago.(TK did
> > >
> > > all the hard work;) And hopefully this post will help others also, as i need it
> > >
> > > again :)
> > >
> > > Now iam working on a Mill/Drill like this one
> > > http://www.use-enco.com/CGI/INPDFF?PMPAGE=594&PMCTLG=00, except i built the
> > > column and Z Axis.
> > > (Ill post some pics later)
> > >
> > > Iam using 906 oz/in steppers, 2:1 pulley ratio on all 3 axis, Gecko G203V
> > > drives, PMDX-125 breakout board, 3/4 inch ballscrews and linear scales on all 3
> > >
> > > axis.
> > >
> > > All wiring from B.O.B. and KFLOP is already finished.I have been using Mach3 to
> > >
> > > control machine.(Ive been using Mach3 for a few years, thats what started this
> >
> > > whole DIY CNC adventure. :))
> > >
> > > I have installed latest Kmotion software as per Dynomotions
> > > instructions..http://dynomotion.com/Help/KFLOPQuickStart/KFLOPQuickStart.htm,
> > > and show feedback from all scales in the Axis window of Kmotion.
> > >
> > > So Tom, whats the next steps to setting up KFLOP? :)
> > > Thanks,
> > > Troy
> > >
> >
>
|
|
Group: DynoMotion |
Message: 1076 |
From: tmday7 |
Date: 5/2/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Noticed sumthinelse, did a power cycle of KFLOP and restarted Kmotion. Now when i go to the Digital I/O window Output 8 threw 15 are checked, 8 threw 15 State and 44,45 Output are toggling.
Whats that about?
Troy
--- "tmday7"wrote:
>
> Checked cable and all is good.
> 2 things i noticed when toggling the Bit8, 1st is there is a LED on the PMDX 125 board that shows Steps. When i toggle the Bit8, the Steps LED on the PMDX will light up, but still no movement, unless it is so small that motors wont move?
>
> 2nd is, when i toggle Bit8 Limit +1, Home 2 and 3 and the #44 bit will toggle the State.
>
> Here is link to the PMDX manual if that helps.
> Thanks,
> Troy
>
> --- "tmday7" wrote:
> >
> > I am showing the 3V toggle as i toggle bit 8. But there is no movement of stepper motor. I know that Parallel cable from KFLOP to PMDX is good, as i have been using that cable on my Parallel Port with Mach3. But i will check pin at PMDX board just to be shore.
> >
> > Troy
> >
> >
> > Tom Kerekeswrote:
> > >
> > > Ok, cycle power on KFLOP so everything is in default state.
> > >
> > > On the Digital I/O Screen set IO Bits 8 and 9 as outputs.
> > >
> > > Toggle Bit8 (Step) on and off. Does the motor Step? If not check the pin with
> > > a voltmeter does it switch between ~0v and ~ 3V?
> > >
> > > TK
> > >
> > >
> > >
> > >
> > > ________________________________
> > > From: tmday7 <tmday@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Mon, May 2, 2011 3:13:07 PM
> > > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> > >
> > > Â
> > > Ok, maybe we need to go back further in setup. :)
> > > I got no movement at all.
> > > Troy
> > >
> > > Tom Kerekes wrote:
> > > >
> > > > Hi Troy,
> > > >
> > > > Start by loading the .mot configuration file called:
> > > >
> > > > SimpleStepDirAxis0.mot
> > > >
> > > > I think the Gecko G203V drives are best driven using KFLOP's 3.3V
> > > > LVTTLÃÂ source-sink output mode.ÃÂ Select this mode by adding 8 to the channel
> > > > number as described here:ÃÂ
> > > >
> > > > http://www.dynomotion.com/Help/StepAndDirection/StepAndDir.htm
> > > >
> > > > Test if you can get each axis to move properly using open loop stepper mode
> > > >from
> > > >
> > > > the KMotion Step Response Screen.
> > > >
> > > > Regards
> > > > TK
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > ________________________________
> > > > From: tmday7 <tmday@>
> > > > To: DynoMotion@yahoogroups.com
> > > > Sent: Mon, May 2, 2011 11:08:45 AM
> > > > Subject: [DynoMotion] KFLOP Setup on a Mill/Drill
> > > >
> > > > ÃÂ
> > > > Hello Tom and all,
> > > > I have setup a KFLOP on a Bridgeport type mill once, a couple years ago.(TK did
> > > >
> > > > all the hard work;) And hopefully this post will help others also, as i need it
> > > >
> > > > again :)
> > > >
> > > > Now iam working on a Mill/Drill like this one
> > > > http://www.use-enco.com/CGI/INPDFF?PMPAGE=594&PMCTLG=00, except i built the
> > > > column and Z Axis.
> > > > (Ill post some pics later)
> > > >
> > > > Iam using 906 oz/in steppers, 2:1 pulley ratio on all 3 axis, Gecko G203V
> > > > drives, PMDX-125 breakout board, 3/4 inch ballscrews and linear scales on all 3
> > > >
> > > > axis.
> > > >
> > > > All wiring from B.O.B. and KFLOP is already finished.I have been using Mach3 to
> > > >
> > > > control machine.(Ive been using Mach3 for a few years, thats what started this
> > >
> > > > whole DIY CNC adventure. :))
> > > >
> > > > I have installed latest Kmotion software as per Dynomotions
> > > > instructions..http://dynomotion.com/Help/KFLOPQuickStart/KFLOPQuickStart.htm,
> > > > and show feedback from all scales in the Axis window of Kmotion.
> > > >
> > > > So Tom, whats the next steps to setting up KFLOP? :)
> > > > Thanks,
> > > > Troy
> > > >
> > >
> >
>
|
|
Group: DynoMotion |
Message: 1077 |
From: TK |
Date: 5/2/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Hi Troy,
Each toggle would only be one microstep so it might be hard to see. But after a few toggles it should be obvious.
TK On May 2, 2011, at 7:11 PM, "tmday7" <tmday@...> wrote:
Checked cable and all is good.
2 things i noticed when toggling the Bit8, 1st is there is a LED on the PMDX 125 board that shows Steps. When i toggle the Bit8, the Steps LED on the PMDX will light up, but still no movement, unless it is so small that motors wont move?
2nd is, when i toggle Bit8 Limit +1, Home 2 and 3 and the #44 bit will toggle the State.
Here is link to the PMDX manual if that helps.
Thanks,
Troy
--- "tmday7" wrote:
>
> I am showing the 3V toggle as i toggle bit 8. But there is no movement of stepper motor. I know that Parallel cable from KFLOP to PMDX is good, as i have been using that cable on my Parallel Port with Mach3. But i will check pin at PMDX board just to be shore.
>
> Troy
>
>
> Tom Kerekeswrote:
> >
> > Ok, cycle power on KFLOP so everything is in default state.
> >
> > On the Digital I/O Screen set IO Bits 8 and 9 as outputs.
> >
> > Toggle Bit8 (Step) on and off. Does the motor Step? If not check the pin with
> > a voltmeter does it switch between ~0v and ~ 3V?
> >
> > TK
> >
> >
> >
> >
> > ________________________________
> > From: tmday7 <tmday@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Mon, May 2, 2011 3:13:07 PM
> > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> >
> > Â
> > Ok, maybe we need to go back further in setup. :)
> > I got no movement at all.
> > Troy
> >
> > Tom Kerekes wrote:
> > >
> > > Hi Troy,
> > >
> > > Start by loading the .mot configuration file called:
> > >
> > > SimpleStepDirAxis0.mot
> > >
> > > I think the Gecko G203V drives are best driven using KFLOP's 3.3V
> > > LVTTL source-sink output mode. Select this mode by adding 8 to the channel
> > > number as described here:ÂÂ
> > >
> > > http://www.dynomotion.com/Help/StepAndDirection/StepAndDir.htm
> > >
> > > Test if you can get each axis to move properly using open loop stepper mode
> > >from
> > >
> > > the KMotion Step Response Screen.
> > >
> > > Regards
> > > TK
> > >
> > >
> > >
> > >
> > >
> > > ________________________________
> > > From: tmday7 <tmday@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Mon, May 2, 2011 11:08:45 AM
> > > Subject: [DynoMotion] KFLOP Setup on a Mill/Drill
> > >
> > > ÂÂ
> > > Hello Tom and all,
> > > I have setup a KFLOP on a Bridgeport type mill once, a couple years ago.(TK did
> > >
> > > all the hard work;) And hopefully this post will help others also, as i need it
> > >
> > > again :)
> > >
> > > Now iam working on a Mill/Drill like this one
> > > http://www.use-enco.com/CGI/INPDFF?PMPAGE=594&PMCTLG=00, except i built the
> > > column and Z Axis.
> > > (Ill post some pics later)
> > >
> > > Iam using 906 oz/in steppers, 2:1 pulley ratio on all 3 axis, Gecko G203V
> > > drives, PMDX-125 breakout board, 3/4 inch ballscrews and linear scales on all 3
> > >
> > > axis.
> > >
> > > All wiring from B.O.B. and KFLOP is already finished.I have been using Mach3 to
> > >
> > > control machine.(Ive been using Mach3 for a few years, thats what started this
> >
> > > whole DIY CNC adventure. :))
> > >
> > > I have installed latest Kmotion software as per Dynomotions
> > > instructions..http://dynomotion.com/Help/KFLOPQuickStart/KFLOPQuickStart.htm,
> > > and show feedback from all scales in the Axis window of Kmotion.
> > >
> > > So Tom, whats the next steps to setting up KFLOP? :)
> > > Thanks,
> > > Troy
> > >
> >
>
|
|
Group: DynoMotion |
Message: 1078 |
From: tmday7 |
Date: 5/3/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
As to seeing movement, i never saw any, even after several clicks.
One more thing i noticed, is after power cycle of KFLOP, Steps LED on the PMDX board would flicker constant, until i checked the #44 and #45 in the Digital I/O screen of Kmotion.
Troy
--- "tmday7"wrote:
>
> Noticed sumthinelse, did a power cycle of KFLOP and restarted Kmotion. Now when i go to the Digital I/O window Output 8 threw 15 are checked, 8 threw 15 State and 44,45 Output are toggling.
> Whats that about?
> Troy
>
> --- "tmday7"wrote:
> >
> > Checked cable and all is good.
> > 2 things i noticed when toggling the Bit8, 1st is there is a LED on the PMDX 125 board that shows Steps. When i toggle the Bit8, the Steps LED on the PMDX will light up, but still no movement, unless it is so small that motors wont move?
> >
> > 2nd is, when i toggle Bit8 Limit +1, Home 2 and 3 and the #44 bit will toggle the State.
> >
> > Here is link to the PMDX manual if that helps.
> > Thanks,
> > Troy
> >
> > --- "tmday7" wrote:
> > >
> > > I am showing the 3V toggle as i toggle bit 8. But there is no movement of stepper motor. I know that Parallel cable from KFLOP to PMDX is good, as i have been using that cable on my Parallel Port with Mach3. But i will check pin at PMDX board just to be shore.
> > >
> > > Troy
> > >
> > >
> > > Tom Kerekeswrote:
> > > >
> > > > Ok, cycle power on KFLOP so everything is in default state.
> > > >
> > > > On the Digital I/O Screen set IO Bits 8 and 9 as outputs.
> > > >
> > > > Toggle Bit8 (Step) on and off. Does the motor Step? If not check the pin with
> > > > a voltmeter does it switch between ~0v and ~ 3V?
> > > >
> > > > TK
> > > >
> > > >
> > > >
> > > >
> > > > ________________________________
> > > > From: tmday7 <tmday@>
> > > > To: DynoMotion@yahoogroups.com
> > > > Sent: Mon, May 2, 2011 3:13:07 PM
> > > > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> > > >
> > > > Â
> > > > Ok, maybe we need to go back further in setup. :)
> > > > I got no movement at all.
> > > > Troy
> > > >
> > > > Tom Kerekes wrote:
> > > > >
> > > > > Hi Troy,
> > > > >
> > > > > Start by loading the .mot configuration file called:
> > > > >
> > > > > SimpleStepDirAxis0.mot
> > > > >
> > > > > I think the Gecko G203V drives are best driven using KFLOP's 3.3V
> > > > > LVTTLÃÂ source-sink output mode.ÃÂ Select this mode by adding 8 to the channel
> > > > > number as described here:ÃÂ
> > > > >
> > > > > http://www.dynomotion.com/Help/StepAndDirection/StepAndDir.htm
> > > > >
> > > > > Test if you can get each axis to move properly using open loop stepper mode
> > > > >from
> > > > >
> > > > > the KMotion Step Response Screen.
> > > > >
> > > > > Regards
> > > > > TK
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > ________________________________
> > > > > From: tmday7 <tmday@>
> > > > > To: DynoMotion@yahoogroups.com
> > > > > Sent: Mon, May 2, 2011 11:08:45 AM
> > > > > Subject: [DynoMotion] KFLOP Setup on a Mill/Drill
> > > > >
> > > > > ÃÂ
> > > > > Hello Tom and all,
> > > > > I have setup a KFLOP on a Bridgeport type mill once, a couple years ago.(TK did
> > > > >
> > > > > all the hard work;) And hopefully this post will help others also, as i need it
> > > > >
> > > > > again :)
> > > > >
> > > > > Now iam working on a Mill/Drill like this one
> > > > > http://www.use-enco.com/CGI/INPDFF?PMPAGE=594&PMCTLG=00, except i built the
> > > > > column and Z Axis.
> > > > > (Ill post some pics later)
> > > > >
> > > > > Iam using 906 oz/in steppers, 2:1 pulley ratio on all 3 axis, Gecko G203V
> > > > > drives, PMDX-125 breakout board, 3/4 inch ballscrews and linear scales on all 3
> > > > >
> > > > > axis.
> > > > >
> > > > > All wiring from B.O.B. and KFLOP is already finished.I have been using Mach3 to
> > > > >
> > > > > control machine.(Ive been using Mach3 for a few years, thats what started this
> > > >
> > > > > whole DIY CNC adventure. :))
> > > > >
> > > > > I have installed latest Kmotion software as per Dynomotions
> > > > > instructions..http://dynomotion.com/Help/KFLOPQuickStart/KFLOPQuickStart.htm,
> > > > > and show feedback from all scales in the Axis window of Kmotion.
> > > > >
> > > > > So Tom, whats the next steps to setting up KFLOP? :)
> > > > > Thanks,
> > > > > Troy
> > > > >
> > > >
> > >
> >
>
|
|
Group: DynoMotion |
Message: 1079 |
From: Tom Kerekes |
Date: 5/3/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Hi Troy,
It sounds like luck is not on your side :}
You probably have a wiring error. Possibly a missing ground. Without a ground it is possible to have the weird cross talk between IOs that you describe. I don't know which PMDX board you have or how you are wired to it. Maybe you can post a diagram. You said you included a link but I don't see it. All KFLOP should need to do to cause a step is to toggle the Step line. If it is doing that and there is no Step then the problem is further down stream.
BTW did you Flash any User Programs or Configuration into the board? This is not necessary or recommended. If you have please re-Flash the V4.24 Version.
Regards
TK
Group: DynoMotion |
Message: 1080 |
From: tmday7 |
Date: 5/3/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Sorry, iam bad for that. :)
http://www.pmdx.com/Doc/Archive/PMDX-125_Manual_04.pdf
Ill reflash, double check wiring,ill put together a wiring diagram also.
Troy
--- Tom Kerekeswrote:
>
> Hi Troy,
>
> It sounds like luck is not on your side :}
>
> You probably have a wiring error. Possibly a missing ground. Without a ground
> it is possible to have the weird cross talk between IOs that you describe. I
> don't know which PMDX board you have or how you are wired to it. Maybe you can
> post a diagram. You said you included a link but I don't see it. All KFLOP
> should need to do to cause a step is to toggle the Step line. If it is doing
> that and there is no Step then the problem is further down stream.
>
> BTW did you Flash any User Programs or Configuration into the board? This is
> not necessary or recommended. If you have please re-Flash the V4.24 Version.
>
> Regards
> TK
>
>
>
>
> ________________________________
> From: tmday7 <tmday@...>
> To: DynoMotion@yahoogroups.com
> Sent: Tue, May 3, 2011 6:11:50 AM
> Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
>
> Â
> As to seeing movement, i never saw any, even after several clicks.
> One more thing i noticed, is after power cycle of KFLOP, Steps LED on the PMDX
> board would flicker constant, until i checked the #44 and #45 in the Digital I/O
> screen of Kmotion.
> Troy
>
> --- "tmday7"wrote:
> >
> > Noticed sumthinelse, did a power cycle of KFLOP and restarted Kmotion. Now when
> >i go to the Digital I/O window Output 8 threw 15 are checked, 8 threw 15 State
> >and 44,45 Output are toggling.
> > Whats that about?
> > Troy
> >
> > --- "tmday7"wrote:
> > >
> > > Checked cable and all is good.
> > > 2 things i noticed when toggling the Bit8, 1st is there is a LED on the PMDX
> >125 board that shows Steps. When i toggle the Bit8, the Steps LED on the PMDX
> >will light up, but still no movement, unless it is so small that motors wont
> >move?
> > >
> > > 2nd is, when i toggle Bit8 Limit +1, Home 2 and 3 and the #44 bit will toggle
> >the State.
> > >
> > > Here is link to the PMDX manual if that helps.
> > > Thanks,
> > > Troy
> > >
> > > --- "tmday7" wrote:
> > > >
> > > > I am showing the 3V toggle as i toggle bit 8. But there is no movement of
> >stepper motor. I know that Parallel cable from KFLOP to PMDX is good, as i have
> >been using that cable on my Parallel Port with Mach3. But i will check pin at
> >PMDX board just to be shore.
> > > >
> > > > Troy
> > > >
> > > >
> > > > Tom Kerekeswrote:
> > > > >
> > > > > Ok, cycle power on KFLOP so everything is in default state.
> > > > >
> > > > > On the Digital I/O Screen set IO Bits 8 and 9 asÃÂ outputs.
> > > > >
> > > > > Toggle Bit8 (Step) on and off.ÃÂ Does the motor Step?ÃÂ If not check the
> >pin with
> >
> > > > > a voltmeter does it switch between ~0v and ~ 3V?
> > > > >
> > > > > TK
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > ________________________________
> > > > > From: tmday7 <tmday@>
> > > > > To: DynoMotion@yahoogroups.com
> > > > > Sent: Mon, May 2, 2011 3:13:07 PM
> > > > > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> > > > >
> > > > > ÃÂ
> > > > > Ok, maybe we need to go back further in setup. :)
> > > > > I got no movement at all.
> > > > > Troy
> > > > >
> > > > > Tom Kerekes wrote:
> > > > > >
> > > > > > Hi Troy,
> > > > > >
> > > > > > Start by loading the .mot configuration file called:
> > > > > >
> > > > > > SimpleStepDirAxis0.mot
> > > > > >
> > > > > > I think the Gecko G203V drives are best driven using KFLOP's 3.3V
> > > > > > LVTTLÃâàsource-sink output mode.ÃâàSelect this mode by adding 8 to
> >the channel
> >
> > > > > > number as described here:ÃâÃÂ
> > > > > >
> > > > > > http://www.dynomotion.com/Help/StepAndDirection/StepAndDir.htm
> > > > > >
> > > > > > Test if you can get each axis to move properly using open loop stepper
> >mode
> >
> > > > > >from
> > > > > >
> > > > > > the KMotion Step Response Screen.
> > > > > >
> > > > > > Regards
> > > > > > TK
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > ________________________________
> > > > > > From: tmday7 <tmday@>
> > > > > > To: DynoMotion@yahoogroups.com
> > > > > > Sent: Mon, May 2, 2011 11:08:45 AM
> > > > > > Subject: [DynoMotion] KFLOP Setup on a Mill/Drill
> > > > > >
> > > > > > ÃâÃÂ
> > > > > > Hello Tom and all,
> > > > > > I have setup a KFLOP on a Bridgeport type mill once, a couple years
> >ago.(TK did
> >
> > > > > >
> > > > > > all the hard work;) And hopefully this post will help others also, as i
> >need it
> >
> > > > > >
> > > > > > again :)
> > > > > >
> > > > > > Now iam working on a Mill/Drill like this one
> > > > > > http://www.use-enco.com/CGI/INPDFF?PMPAGE=594&PMCTLG=00, except i built
> >the
> >
> > > > > > column and Z Axis.
> > > > > > (Ill post some pics later)
> > > > > >
> > > > > > Iam using 906 oz/in steppers, 2:1 pulley ratio on all 3 axis, Gecko
> >G203V
> >
> > > > > > drives, PMDX-125 breakout board, 3/4 inch ballscrews and linear scales
> >on all 3
> >
> > > > > >
> > > > > > axis.
> > > > > >
> > > > > > All wiring from B.O.B. and KFLOP is already finished.I have been using
> >Mach3 to
> >
> > > > > >
> > > > > > control machine.(Ive been using Mach3 for a few years, thats what
> >started this
> >
> > > > >
> > > > > > whole DIY CNC adventure. :))
> > > > > >
> > > > > > I have installed latest Kmotion software as per Dynomotions
> > > > > >
> >instructions..http://dynomotion.com/Help/KFLOPQuickStart/KFLOPQuickStart.htm,
> >
> > > > > > and show feedback from all scales in the Axis window of Kmotion.
> > > > > >
> > > > > > So Tom, whats the next steps to setting up KFLOP? :)
> > > > > > Thanks,
> > > > > > Troy
> > > > > >
> > > > >
> > > >
> > >
> >
>
|
|
Group: DynoMotion |
Message: 1081 |
From: tmday7 |
Date: 5/3/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Found it. :)
I remembered when we did the TriOnics mill, it also had a PMDX board.And sumthin we never did finish (I think we didnt) was to use the Charge Pump feature. So i went and disabled the Charge Pump on my PMDX 125 board and all is responding now :) :)
Toggling Bit8 moves X axis. Then i loaded SimpleStepDirAxis0.mot and moved X axis.
So,.. where to go from here?
Troy
--- "tmday7"wrote:
>
> Sorry, iam bad for that. :)
> http://www.pmdx.com/Doc/Archive/PMDX-125_Manual_04.pdf
>
> Ill reflash, double check wiring,ill put together a wiring diagram also.
> Troy
> --- Tom Kerekeswrote:
> >
> > Hi Troy,
> >
> > It sounds like luck is not on your side :}
> >
> > You probably have a wiring error. Possibly a missing ground. Without a ground
> > it is possible to have the weird cross talk between IOs that you describe. I
> > don't know which PMDX board you have or how you are wired to it. Maybe you can
> > post a diagram. You said you included a link but I don't see it. All KFLOP
> > should need to do to cause a step is to toggle the Step line. If it is doing
> > that and there is no Step then the problem is further down stream.
> >
> > BTW did you Flash any User Programs or Configuration into the board? This is
> > not necessary or recommended. If you have please re-Flash the V4.24 Version.
> >
> > Regards
> > TK
> >
> >
> >
> >
> > ________________________________
> > From: tmday7 <tmday@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Tue, May 3, 2011 6:11:50 AM
> > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> >
> > Â
> > As to seeing movement, i never saw any, even after several clicks.
> > One more thing i noticed, is after power cycle of KFLOP, Steps LED on the PMDX
> > board would flicker constant, until i checked the #44 and #45 in the Digital I/O
> > screen of Kmotion.
> > Troy
> >
> > --- "tmday7"wrote:
> > >
> > > Noticed sumthinelse, did a power cycle of KFLOP and restarted Kmotion. Now when
> > >i go to the Digital I/O window Output 8 threw 15 are checked, 8 threw 15 State
> > >and 44,45 Output are toggling.
> > > Whats that about?
> > > Troy
> > >
> > > --- "tmday7"wrote:
> > > >
> > > > Checked cable and all is good.
> > > > 2 things i noticed when toggling the Bit8, 1st is there is a LED on the PMDX
> > >125 board that shows Steps. When i toggle the Bit8, the Steps LED on the PMDX
> > >will light up, but still no movement, unless it is so small that motors wont
> > >move?
> > > >
> > > > 2nd is, when i toggle Bit8 Limit +1, Home 2 and 3 and the #44 bit will toggle
> > >the State.
> > > >
> > > > Here is link to the PMDX manual if that helps.
> > > > Thanks,
> > > > Troy
> > > >
> > > > --- "tmday7" wrote:
> > > > >
> > > > > I am showing the 3V toggle as i toggle bit 8. But there is no movement of
> > >stepper motor. I know that Parallel cable from KFLOP to PMDX is good, as i have
> > >been using that cable on my Parallel Port with Mach3. But i will check pin at
> > >PMDX board just to be shore.
> > > > >
> > > > > Troy
> > > > >
> > > > >
> > > > > Tom Kerekeswrote:
> > > > > >
> > > > > > Ok, cycle power on KFLOP so everything is in default state.
> > > > > >
> > > > > > On the Digital I/O Screen set IO Bits 8 and 9 asÃÂ outputs.
> > > > > >
> > > > > > Toggle Bit8 (Step) on and off.ÃÂ Does the motor Step?ÃÂ If not check the
> > >pin with
> > >
> > > > > > a voltmeter does it switch between ~0v and ~ 3V?
> > > > > >
> > > > > > TK
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > ________________________________
> > > > > > From: tmday7 <tmday@>
> > > > > > To: DynoMotion@yahoogroups.com
> > > > > > Sent: Mon, May 2, 2011 3:13:07 PM
> > > > > > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> > > > > >
> > > > > > ÃÂ
> > > > > > Ok, maybe we need to go back further in setup. :)
> > > > > > I got no movement at all.
> > > > > > Troy
> > > > > >
> > > > > > Tom Kerekes wrote:
> > > > > > >
> > > > > > > Hi Troy,
> > > > > > >
> > > > > > > Start by loading the .mot configuration file called:
> > > > > > >
> > > > > > > SimpleStepDirAxis0.mot
> > > > > > >
> > > > > > > I think the Gecko G203V drives are best driven using KFLOP's 3.3V
> > > > > > > LVTTLÃâàsource-sink output mode.ÃâàSelect this mode by adding 8 to
> > >the channel
> > >
> > > > > > > number as described here:ÃâÃÂ
> > > > > > >
> > > > > > > http://www.dynomotion.com/Help/StepAndDirection/StepAndDir.htm
> > > > > > >
> > > > > > > Test if you can get each axis to move properly using open loop stepper
> > >mode
> > >
> > > > > > >from
> > > > > > >
> > > > > > > the KMotion Step Response Screen.
> > > > > > >
> > > > > > > Regards
> > > > > > > TK
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > ________________________________
> > > > > > > From: tmday7 <tmday@>
> > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > Sent: Mon, May 2, 2011 11:08:45 AM
> > > > > > > Subject: [DynoMotion] KFLOP Setup on a Mill/Drill
> > > > > > >
> > > > > > > ÃâÃÂ
> > > > > > > Hello Tom and all,
> > > > > > > I have setup a KFLOP on a Bridgeport type mill once, a couple years
> > >ago.(TK did
> > >
> > > > > > >
> > > > > > > all the hard work;) And hopefully this post will help others also, as i
> > >need it
> > >
> > > > > > >
> > > > > > > again :)
> > > > > > >
> > > > > > > Now iam working on a Mill/Drill like this one
> > > > > > > http://www.use-enco.com/CGI/INPDFF?PMPAGE=594&PMCTLG=00, except i built
> > >the
> > >
> > > > > > > column and Z Axis.
> > > > > > > (Ill post some pics later)
> > > > > > >
> > > > > > > Iam using 906 oz/in steppers, 2:1 pulley ratio on all 3 axis, Gecko
> > >G203V
> > >
> > > > > > > drives, PMDX-125 breakout board, 3/4 inch ballscrews and linear scales
> > >on all 3
> > >
> > > > > > >
> > > > > > > axis.
> > > > > > >
> > > > > > > All wiring from B.O.B. and KFLOP is already finished.I have been using
> > >Mach3 to
> > >
> > > > > > >
> > > > > > > control machine.(Ive been using Mach3 for a few years, thats what
> > >started this
> > >
> > > > > >
> > > > > > > whole DIY CNC adventure. :))
> > > > > > >
> > > > > > > I have installed latest Kmotion software as per Dynomotions
> > > > > > >
> > >instructions..http://dynomotion.com/Help/KFLOPQuickStart/KFLOPQuickStart.htm,
> > >
> > > > > > > and show feedback from all scales in the Axis window of Kmotion.
> > > > > > >
> > > > > > > So Tom, whats the next steps to setting up KFLOP? :)
> > > > > > > Thanks,
> > > > > > > Troy
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
|
|
Group: DynoMotion |
Message: 1082 |
From: TK |
Date: 5/3/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Hi Troy,
Seems strange that all that weird behavior would be caused by a missing charge pump. You could wire the charge pump to a KFLOP PWM if you wish.
The next steps would be to determine your max velocity, acceleration, and Jerk that you would like to use with your system. Note that the units on the Step Response Screen are all in microsteps. Then repeat for all your axes.
I expect you want to run closed loop from your glass scales. So compute a factor that will convert from encoder counts to microsteps. Enter it into the InputGain0 parameter. If correct the Position and Command plots should nearly match on the Step Response Screen.
TK
On May 3, 2011, at 9:29 AM, "tmday7" <tmday@...> wrote:
Found it. :)
I remembered when we did the TriOnics mill, it also had a PMDX board.And sumthin we never did finish (I think we didnt) was to use the Charge Pump feature. So i went and disabled the Charge Pump on my PMDX 125 board and all is responding now :) :)
Toggling Bit8 moves X axis. Then i loaded SimpleStepDirAxis0.mot and moved X axis.
So,.. where to go from here?
Troy
--- "tmday7"wrote:
>
> Sorry, iam bad for that. :)
> http://www.pmdx.com/Doc/Archive/PMDX-125_Manual_04.pdf
>
> Ill reflash, double check wiring,ill put together a wiring diagram also.
> Troy
> --- Tom Kerekeswrote:
> >
> > Hi Troy,
> >
> > It sounds like luck is not on your side :}
> >
> > You probably have a wiring error. Possibly a missing ground. Without a ground
> > it is possible to have the weird cross talk between IOs that you describe. I
> > don't know which PMDX board you have or how you are wired to it. Maybe you can
> > post a diagram. You said you included a link but I don't see it. All KFLOP
> > should need to do to cause a step is to toggle the Step line. If it is doing
> > that and there is no Step then the problem is further down stream.
> >
> > BTW did you Flash any User Programs or Configuration into the board? This is
> > not necessary or recommended. If you have please re-Flash the V4.24 Version.
> >
> > Regards
> > TK
> >
> >
> >
> >
> > ________________________________
> > From: tmday7 <tmday@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Tue, May 3, 2011 6:11:50 AM
> > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> >
> > Â
> > As to seeing movement, i never saw any, even after several clicks.
> > One more thing i noticed, is after power cycle of KFLOP, Steps LED on the PMDX
> > board would flicker constant, until i checked the #44 and #45 in the Digital I/O
> > screen of Kmotion.
> > Troy
> >
> > --- "tmday7"wrote:
> > >
> > > Noticed sumthinelse, did a power cycle of KFLOP and restarted Kmotion. Now when
> > >i go to the Digital I/O window Output 8 threw 15 are checked, 8 threw 15 State
> > >and 44,45 Output are toggling.
> > > Whats that about?
> > > Troy
> > >
> > > --- "tmday7"wrote:
> > > >
> > > > Checked cable and all is good.
> > > > 2 things i noticed when toggling the Bit8, 1st is there is a LED on the PMDX
> > >125 board that shows Steps. When i toggle the Bit8, the Steps LED on the PMDX
> > >will light up, but still no movement, unless it is so small that motors wont
> > >move?
> > > >
> > > > 2nd is, when i toggle Bit8 Limit +1, Home 2 and 3 and the #44 bit will toggle
> > >the State.
> > > >
> > > > Here is link to the PMDX manual if that helps.
> > > > Thanks,
> > > > Troy
> > > >
> > > > --- "tmday7" wrote:
> > > > >
> > > > > I am showing the 3V toggle as i toggle bit 8. But there is no movement of
> > >stepper motor. I know that Parallel cable from KFLOP to PMDX is good, as i have
> > >been using that cable on my Parallel Port with Mach3. But i will check pin at
> > >PMDX board just to be shore.
> > > > >
> > > > > Troy
> > > > >
> > > > >
> > > > > Tom Kerekeswrote:
> > > > > >
> > > > > > Ok, cycle power on KFLOP so everything is in default state.
> > > > > >
> > > > > > On the Digital I/O Screen set IO Bits 8 and 9 as outputs.
> > > > > >
> > > > > > Toggle Bit8 (Step) on and off. Does the motor Step? If not check the
> > >pin with
> > >
> > > > > > a voltmeter does it switch between ~0v and ~ 3V?
> > > > > >
> > > > > > TK
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > ________________________________
> > > > > > From: tmday7 <tmday@>
> > > > > > To: DynoMotion@yahoogroups.com
> > > > > > Sent: Mon, May 2, 2011 3:13:07 PM
> > > > > > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> > > > > >
> > > > > > ÂÂ
> > > > > > Ok, maybe we need to go back further in setup. :)
> > > > > > I got no movement at all.
> > > > > > Troy
> > > > > >
> > > > > > Tom Kerekes wrote:
> > > > > > >
> > > > > > > Hi Troy,
> > > > > > >
> > > > > > > Start by loading the .mot configuration file called:
> > > > > > >
> > > > > > > SimpleStepDirAxis0.mot
> > > > > > >
> > > > > > > I think the Gecko G203V drives are best driven using KFLOP's 3.3V
> > > > > > > LVTTL source-sink output mode. Select this mode by adding 8 to
> > >the channel
> > >
> > > > > > > number as described here:ÂÂÂ
> > > > > > >
> > > > > > > http://www.dynomotion.com/Help/StepAndDirection/StepAndDir.htm
> > > > > > >
> > > > > > > Test if you can get each axis to move properly using open loop stepper
> > >mode
> > >
> > > > > > >from
> > > > > > >
> > > > > > > the KMotion Step Response Screen.
> > > > > > >
> > > > > > > Regards
> > > > > > > TK
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > ________________________________
> > > > > > > From: tmday7 <tmday@>
> > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > Sent: Mon, May 2, 2011 11:08:45 AM
> > > > > > > Subject: [DynoMotion] KFLOP Setup on a Mill/Drill
> > > > > > >
> > > > > > > ÂÂÂ
> > > > > > > Hello Tom and all,
> > > > > > > I have setup a KFLOP on a Bridgeport type mill once, a couple years
> > >ago.(TK did
> > >
> > > > > > >
> > > > > > > all the hard work;) And hopefully this post will help others also, as i
> > >need it
> > >
> > > > > > >
> > > > > > > again :)
> > > > > > >
> > > > > > > Now iam working on a Mill/Drill like this one
> > > > > > > http://www.use-enco.com/CGI/INPDFF?PMPAGE=594&PMCTLG=00, except i built
> > >the
> > >
> > > > > > > column and Z Axis.
> > > > > > > (Ill post some pics later)
> > > > > > >
> > > > > > > Iam using 906 oz/in steppers, 2:1 pulley ratio on all 3 axis, Gecko
> > >G203V
> > >
> > > > > > > drives, PMDX-125 breakout board, 3/4 inch ballscrews and linear scales
> > >on all 3
> > >
> > > > > > >
> > > > > > > axis.
> > > > > > >
> > > > > > > All wiring from B.O.B. and KFLOP is already finished.I have been using
> > >Mach3 to
> > >
> > > > > > >
> > > > > > > control machine.(Ive been using Mach3 for a few years, thats what
> > >started this
> > >
> > > > > >
> > > > > > > whole DIY CNC adventure. :))
> > > > > > >
> > > > > > > I have installed latest Kmotion software as per Dynomotions
> > > > > > >
> > >instructions..http://dynomotion.com/Help/KFLOPQuickStart/KFLOPQuickStart.htm,
> > >
> > > > > > > and show feedback from all scales in the Axis window of Kmotion.
> > > > > > >
> > > > > > > So Tom, whats the next steps to setting up KFLOP? :)
> > > > > > > Thanks,
> > > > > > > Troy
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
|
|
Group: DynoMotion |
Message: 1083 |
From: tmday7 |
Date: 5/3/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
On Configuration window, how do i configure window for next axis?
Troy
--- TK wrote:
>
> Hi Troy,
>
> Seems strange that all that weird behavior would be caused by a missing charge pump. You could wire the charge pump to a KFLOP PWM if you wish.
>
> The next steps would be to determine your max velocity, acceleration, and Jerk that you would like to use with your system. Note that the units on the Step Response Screen are all in microsteps. Then repeat for all your axes.
>
> I expect you want to run closed loop from your glass scales. So compute a factor that will convert from encoder counts to microsteps. Enter it into the InputGain0 parameter. If correct the Position and Command plots should nearly match on the Step Response Screen.
>
>
> TK
>
> On May 3, 2011, at 9:29 AM, "tmday7" <tmday@...> wrote:
>
> > Found it. :)
> > I remembered when we did the TriOnics mill, it also had a PMDX board.And sumthin we never did finish (I think we didnt) was to use the Charge Pump feature. So i went and disabled the Charge Pump on my PMDX 125 board and all is responding now :) :)
> >
> > Toggling Bit8 moves X axis. Then i loaded SimpleStepDirAxis0.mot and moved X axis.
> >
> > So,.. where to go from here?
> > Troy
> >
> > --- "tmday7"wrote:
> > >
> > > Sorry, iam bad for that. :)
> > > http://www.pmdx.com/Doc/Archive/PMDX-125_Manual_04.pdf
> > >
> > > Ill reflash, double check wiring,ill put together a wiring diagram also.
> > > Troy
> > > --- Tom Kerekeswrote:
> > > >
> > > > Hi Troy,
> > > >
> > > > It sounds like luck is not on your side :}
> > > >
> > > > You probably have a wiring error.Ã Possibly a missing ground.Ã Without a ground
> > > > it is possible to have the weird cross talk between IOs that you describe.Ã I
> > > > don't know which PMDX board you have or how you are wired to it.Ã Maybe you can
> > > > post a diagram.Ã You said you included a link but I don't see it. All KFLOP
> > > > should need to do to cause a step is to toggle the Step line.Ã If it is doing
> > > > that and there is no Step then the problem is further down stream.
> > > >
> > > > BTW did you Flash any User Programs or Configuration into the board?Ã This is
> > > > not necessary or recommended.Ã If you have please re-Flash the V4.24 Version.
> > > >
> > > > Regards
> > > > TK
> > > >
> > > >
> > > >
> > > >
> > > > ________________________________
> > > > From: tmday7 <tmday@>
> > > > To: DynoMotion@yahoogroups.com
> > > > Sent: Tue, May 3, 2011 6:11:50 AM
> > > > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> > > >
> > > > Ã
> > > > As to seeing movement, i never saw any, even after several clicks.
> > > > One more thing i noticed, is after power cycle of KFLOP, Steps LED on the PMDX
> > > > board would flicker constant, until i checked the #44 and #45 in the Digital I/O
> > > > screen of Kmotion.
> > > > Troy
> > > >
> > > > --- "tmday7"wrote:
> > > > >
> > > > > Noticed sumthinelse, did a power cycle of KFLOP and restarted Kmotion. Now when
> > > > >i go to the Digital I/O window Output 8 threw 15 are checked, 8 threw 15 State
> > > > >and 44,45 Output are toggling.
> > > > > Whats that about?
> > > > > Troy
> > > > >
> > > > > --- "tmday7"wrote:
> > > > > >
> > > > > > Checked cable and all is good.
> > > > > > 2 things i noticed when toggling the Bit8, 1st is there is a LED on the PMDX
> > > > >125 board that shows Steps. When i toggle the Bit8, the Steps LED on the PMDX
> > > > >will light up, but still no movement, unless it is so small that motors wont
> > > > >move?
> > > > > >
> > > > > > 2nd is, when i toggle Bit8 Limit +1, Home 2 and 3 and the #44 bit will toggle
> > > > >the State.
> > > > > >
> > > > > > Here is link to the PMDX manual if that helps.
> > > > > > Thanks,
> > > > > > Troy
> > > > > >
> > > > > > --- "tmday7" wrote:
> > > > > > >
> > > > > > > I am showing the 3V toggle as i toggle bit 8. But there is no movement of
> > > > >stepper motor. I know that Parallel cable from KFLOP to PMDX is good, as i have
> > > > >been using that cable on my Parallel Port with Mach3. But i will check pin at
> > > > >PMDX board just to be shore.
> > > > > > >
> > > > > > > Troy
> > > > > > >
> > > > > > >
> > > > > > > Tom Kerekeswrote:
> > > > > > > >
> > > > > > > > Ok, cycle power on KFLOP so everything is in default state.
> > > > > > > >
> > > > > > > > On the Digital I/O Screen set IO Bits 8 and 9 asÃâà outputs.
> > > > > > > >
> > > > > > > > Toggle Bit8 (Step) on and off.Ãâà Does the motor Step?Ãâà If not check the
> > > > >pin with
> > > > >
> > > > > > > > a voltmeter does it switch between ~0v and ~ 3V?
> > > > > > > >
> > > > > > > > TK
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > ________________________________
> > > > > > > > From: tmday7 <tmday@>
> > > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > > Sent: Mon, May 2, 2011 3:13:07 PM
> > > > > > > > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> > > > > > > >
> > > > > > > > ÃâÃ
> > > > > > > > Ok, maybe we need to go back further in setup. :)
> > > > > > > > I got no movement at all.
> > > > > > > > Troy
> > > > > > > >
> > > > > > > > Tom Kerekes wrote:
> > > > > > > > >
> > > > > > > > > Hi Troy,
> > > > > > > > >
> > > > > > > > > Start by loading the .mot configuration file called:
> > > > > > > > >
> > > > > > > > > SimpleStepDirAxis0.mot
> > > > > > > > >
> > > > > > > > > I think the Gecko G203V drives are best driven using KFLOP's 3.3V
> > > > > > > > > LVTTLÃÆ'ââ¬Å¡Ãâà source-sink output mode.ÃÆ'ââ¬Å¡Ãâà Select this mode by adding 8 to
> > > > >the channel
> > > > >
> > > > > > > > > number as described here:ÃÆ'ââ¬Å¡ÃâÃ
> > > > > > > > >
> > > > > > > > > http://www.dynomotion.com/Help/StepAndDirection/StepAndDir.htm
> > > > > > > > >
> > > > > > > > > Test if you can get each axis to move properly using open loop stepper
> > > > >mode
> > > > >
> > > > > > > > >from
> > > > > > > > >
> > > > > > > > > the KMotion Step Response Screen.
> > > > > > > > >
> > > > > > > > > Regards
> > > > > > > > > TK
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > ________________________________
> > > > > > > > > From: tmday7 <tmday@>
> > > > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > > > Sent: Mon, May 2, 2011 11:08:45 AM
> > > > > > > > > Subject: [DynoMotion] KFLOP Setup on a Mill/Drill
> > > > > > > > >
> > > > > > > > > ÃÆ'ââ¬Å¡ÃâÃ
> > > > > > > > > Hello Tom and all,
> > > > > > > > > I have setup a KFLOP on a Bridgeport type mill once, a couple years
> > > > >ago.(TK did
> > > > >
> > > > > > > > >
> > > > > > > > > all the hard work;) And hopefully this post will help others also, as i
> > > > >need it
> > > > >
> > > > > > > > >
> > > > > > > > > again :)
> > > > > > > > >
> > > > > > > > > Now iam working on a Mill/Drill like this one
> > > > > > > > > http://www.use-enco.com/CGI/INPDFF?PMPAGE=594&PMCTLG=00, except i built
> > > > >the
> > > > >
> > > > > > > > > column and Z Axis.
> > > > > > > > > (Ill post some pics later)
> > > > > > > > >
> > > > > > > > > Iam using 906 oz/in steppers, 2:1 pulley ratio on all 3 axis, Gecko
> > > > >G203V
> > > > >
> > > > > > > > > drives, PMDX-125 breakout board, 3/4 inch ballscrews and linear scales
> > > > >on all 3
> > > > >
> > > > > > > > >
> > > > > > > > > axis.
> > > > > > > > >
> > > > > > > > > All wiring from B.O.B. and KFLOP is already finished.I have been using
> > > > >Mach3 to
> > > > >
> > > > > > > > >
> > > > > > > > > control machine.(Ive been using Mach3 for a few years, thats what
> > > > >started this
> > > > >
> > > > > > > >
> > > > > > > > > whole DIY CNC adventure. :))
> > > > > > > > >
> > > > > > > > > I have installed latest Kmotion software as per Dynomotions
> > > > > > > > >
> > > > >instructions..http://dynomotion.com/Help/KFLOPQuickStart/KFLOPQuickStart.htm,
> > > > >
> > > > > > > > > and show feedback from all scales in the Axis window of Kmotion.
> > > > > > > > >
> > > > > > > > > So Tom, whats the next steps to setting up KFLOP? :)
> > > > > > > > > Thanks,
> > > > > > > > > Troy
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> >
>
|
|
Group: DynoMotion |
Message: 1084 |
From: Tom Kerekes |
Date: 5/3/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Assuming all the axes are similar and you wired the Step/Dirs and Encoders in sequence, save the fist configured axis to a *.mot file then load it into the other axis and add 1 to both the InputChan0 and OutputChan0.
TK
Group: DynoMotion |
Message: 1085 |
From: tmday7 |
Date: 5/3/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Ok. This is what i have (X Axis)Channel 0, Input Channel 0, Output Channel 8...(Y Axis)Channel 1, Input Channel 1, Output Channel 9...(Z Axis)Channel 2, Input Channel 2, Output Channel 10...
That sound right?
Thanks,
Troy
--- Tom Kerekes wrote:
>
> Assuming all the axes are similar and you wired the Step/Dirs and Encoders in
> sequence, save the fist configured axis to a *.mot file then load it into the
> other axis and add 1 to both the InputChan0 and OutputChan0.
>
> TK
>
>
>
>
> ________________________________
> From: tmday7 <tmday@...>
> To: DynoMotion@yahoogroups.com
> Sent: Tue, May 3, 2011 1:28:46 PM
> Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
>
> Â
> On Configuration window, how do i configure window for next axis?
> Troy
>
> --- TK wrote:
> >
> > Hi Troy,
> >
> > Seems strange that all that weird behavior would be caused by a missing charge
> >pump. You could wire the charge pump to a KFLOP PWM if you wish.
> >
> >
> > The next steps would be to determine your max velocity, acceleration, and Jerk
> >that you would like to use with your system. Note that the units on the Step
> >Response Screen are all in microsteps. Then repeat for all your axes.
> >
> >
> > I expect you want to run closed loop from your glass scales. So compute a
> >factor that will convert from encoder counts to microsteps. Enter it into the
> >InputGain0 parameter. If correct the Position and Command plots should nearly
> >match on the Step Response Screen.
> >
> >
> >
> > TK
> >
> > On May 3, 2011, at 9:29 AM, "tmday7" <tmday@> wrote:
> >
> > > Found it. :)
> > > I remembered when we did the TriOnics mill, it also had a PMDX board.And
> >sumthin we never did finish (I think we didnt) was to use the Charge Pump
> >feature. So i went and disabled the Charge Pump on my PMDX 125 board and all is
> >responding now :) :)
> >
> > >
> > > Toggling Bit8 moves X axis. Then i loaded SimpleStepDirAxis0.mot and moved X
> >axis.
> > >
> > > So,.. where to go from here?
> > > Troy
> > >
> > > --- "tmday7"wrote:
> > > >
> > > > Sorry, iam bad for that. :)
> > > > http://www.pmdx.com/Doc/Archive/PMDX-125_Manual_04.pdf
> > > >
> > > > Ill reflash, double check wiring,ill put together a wiring diagram also.
> > > > Troy
> > > > --- Tom Kerekeswrote:
> > > > >
> > > > > Hi Troy,
> > > > >
> > > > > It sounds like luck is not on your side :}
> > > > >
> > > > > You probably have a wiring error.Ãâ Possibly a missing ground.Ãâ Without
> >a ground
> >
> > > > > it is possible to have the weird cross talk between IOs that you
> >describe.Ãâ I
> >
> > > > > don't know which PMDX board you have or how you are wired to it.Ãâ Maybe
> >you can
> >
> > > > > post a diagram.Ãâ You said you included a link but I don't see it. All
> >KFLOP
> >
> > > > > should need to do to cause a step is to toggle the Step line.Ãâ If it is
> >doing
> >
> > > > > that and there is no Step then the problem is further down stream.
> > > > >
> > > > > BTW did you Flash any User Programs or Configuration into the board?Ãâ
> >This is
> >
> > > > > not necessary or recommended.Ãâ If you have please re-Flash the V4.24
> >Version.
> > > > >
> > > > > Regards
> > > > > TK
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > ________________________________
> > > > > From: tmday7 <tmday@>
> > > > > To: DynoMotion@yahoogroups.com
> > > > > Sent: Tue, May 3, 2011 6:11:50 AM
> > > > > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> > > > >
> > > > > Ãâ
> > > > > As to seeing movement, i never saw any, even after several clicks.
> > > > > One more thing i noticed, is after power cycle of KFLOP, Steps LED on the
> >PMDX
> >
> > > > > board would flicker constant, until i checked the #44 and #45 in the
> >Digital I/O
> >
> > > > > screen of Kmotion.
> > > > > Troy
> > > > >
> > > > > --- "tmday7"wrote:
> > > > > >
> > > > > > Noticed sumthinelse, did a power cycle of KFLOP and restarted Kmotion.
> >Now when
> >
> > > > > >i go to the Digital I/O window Output 8 threw 15 are checked, 8 threw 15
> >State
> >
> > > > > >and 44,45 Output are toggling.
> > > > > > Whats that about?
> > > > > > Troy
> > > > > >
> > > > > > --- "tmday7"wrote:
> > > > > > >
> > > > > > > Checked cable and all is good.
> > > > > > > 2 things i noticed when toggling the Bit8, 1st is there is a LED on
> >the PMDX
> >
> > > > > >125 board that shows Steps. When i toggle the Bit8, the Steps LED on the
> >PMDX
> >
> > > > > >will light up, but still no movement, unless it is so small that motors
> >wont
> >
> > > > > >move?
> > > > > > >
> > > > > > > 2nd is, when i toggle Bit8 Limit +1, Home 2 and 3 and the #44 bit
> >will toggle
> >
> > > > > >the State.
> > > > > > >
> > > > > > > Here is link to the PMDX manual if that helps.
> > > > > > > Thanks,
> > > > > > > Troy
> > > > > > >
> > > > > > > --- "tmday7" wrote:
> > > > > > > >
> > > > > > > > I am showing the 3V toggle as i toggle bit 8. But there is no
> >movement of
> >
> > > > > >stepper motor. I know that Parallel cable from KFLOP to PMDX is good, as
> >i have
> >
> > > > > >been using that cable on my Parallel Port with Mach3. But i will check
> >pin at
> >
> > > > > >PMDX board just to be shore.
> > > > > > > >
> > > > > > > > Troy
> > > > > > > >
> > > > > > > >
> > > > > > > > Tom Kerekeswrote:
> > > > > > > > >
> > > > > > > > > Ok, cycle power on KFLOP so everything is in default state.
> > > > > > > > >
> > > > > > > > > On the Digital I/O Screen set IO Bits 8 and 9 asÃÆ'ââ¬Å¡Ãâ outputs.
> > > > > > > > >
> > > > > > > > > Toggle Bit8 (Step) on and off.ÃÆ'ââ¬Å¡Ãâ Does the motor Step?ÃÆ'ââ¬Å¡Ãâ
> >If not check the
> >
> > > > > >pin with
> > > > > >
> > > > > > > > > a voltmeter does it switch between ~0v and ~ 3V?
> > > > > > > > >
> > > > > > > > > TK
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > ________________________________
> > > > > > > > > From: tmday7 <tmday@>
> > > > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > > > Sent: Mon, May 2, 2011 3:13:07 PM
> > > > > > > > > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> > > > > > > > >
> > > > > > > > > ÃÆ'ââ¬Å¡Ãâ
> > > > > > > > > Ok, maybe we need to go back further in setup. :)
> > > > > > > > > I got no movement at all.
> > > > > > > > > Troy
> > > > > > > > >
> > > > > > > > > Tom Kerekes wrote:
> > > > > > > > > >
> > > > > > > > > > Hi Troy,
> > > > > > > > > >
> > > > > > > > > > Start by loading the .mot configuration file called:
> > > > > > > > > >
> > > > > > > > > > SimpleStepDirAxis0.mot
> > > > > > > > > >
> > > > > > > > > > I think the Gecko G203V drives are best driven using KFLOP's
> >3.3V
> >
> > > > > > > > > > LVTTLÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡Ãâ source-sink output
> >mode.ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡Ãâ Select this mode by adding 8 to
> >
> > > > > >the channel
> > > > > >
> > > > > > > > > > number as described here:ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡Ãâ
> > > > > > > > > >
> > > > > > > > > > http://www.dynomotion.com/Help/StepAndDirection/StepAndDir.htm
> > > > > > > > > >
> > > > > > > > > > Test if you can get each axis to move properly using open loop
> >stepper
> >
> > > > > >mode
> > > > > >
> > > > > > > > > >from
> > > > > > > > > >
> > > > > > > > > > the KMotion Step Response Screen.
> > > > > > > > > >
> > > > > > > > > > Regards
> > > > > > > > > > TK
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > ________________________________
> > > > > > > > > > From: tmday7 <tmday@>
> > > > > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > > > > Sent: Mon, May 2, 2011 11:08:45 AM
> > > > > > > > > > Subject: [DynoMotion] KFLOP Setup on a Mill/Drill
> > > > > > > > > >
> > > > > > > > > > ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡Ãâ
> > > > > > > > > > Hello Tom and all,
> > > > > > > > > > I have setup a KFLOP on a Bridgeport type mill once, a couple
> >years
> >
> > > > > >ago.(TK did
> > > > > >
> > > > > > > > > >
> > > > > > > > > > all the hard work;) And hopefully this post will help others
> >also, as i
> >
> > > > > >need it
> > > > > >
> > > > > > > > > >
> > > > > > > > > > again :)
> > > > > > > > > >
> > > > > > > > > > Now iam working on a Mill/Drill like this one
> > > > > > > > > > http://www.use-enco.com/CGI/INPDFF?PMPAGE=594&PMCTLG=00, except
> >i built
> >
> > > > > >the
> > > > > >
> > > > > > > > > > column and Z Axis.
> > > > > > > > > > (Ill post some pics later)
> > > > > > > > > >
> > > > > > > > > > Iam using 906 oz/in steppers, 2:1 pulley ratio on all 3 axis,
> >Gecko
> >
> > > > > >G203V
> > > > > >
> > > > > > > > > > drives, PMDX-125 breakout board, 3/4 inch ballscrews and linear
> >scales
> >
> > > > > >on all 3
> > > > > >
> > > > > > > > > >
> > > > > > > > > > axis.
> > > > > > > > > >
> > > > > > > > > > All wiring from B.O.B. and KFLOP is already finished.I have
> >been using
> >
> > > > > >Mach3 to
> > > > > >
> > > > > > > > > >
> > > > > > > > > > control machine.(Ive been using Mach3 for a few years, thats
> >what
> >
> > > > > >started this
> > > > > >
> > > > > > > > >
> > > > > > > > > > whole DIY CNC adventure. :))
> > > > > > > > > >
> > > > > > > > > > I have installed latest Kmotion software as per Dynomotions
> > > > > > > > > >
> > > > >
> >>instructions..http://dynomotion.com/Help/KFLOPQuickStart/KFLOPQuickStart.htm,
> >
> > > > > >
> > > > > > > > > > and show feedback from all scales in the Axis window of
> >Kmotion.
> > > > > > > > > >
> > > > > > > > > > So Tom, whats the next steps to setting up KFLOP? :)
> > > > > > > > > > Thanks,
> > > > > > > > > > Troy
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> > >
> >
>
|
|
Group: DynoMotion |
Message: 1086 |
From: tmday7 |
Date: 5/3/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
You said "convert from encoder counts to microsteps. Enter it into the InputGain0 parameter."
How do i convert?
Testing Certificate for scale says Resolution is 5.0 um
Thanks,
Troy
--- "tmday7"wrote:
>
> Ok. This is what i have (X Axis)Channel 0, Input Channel 0, Output Channel 8...(Y Axis)Channel 1, Input Channel 1, Output Channel 9...(Z Axis)Channel 2, Input Channel 2, Output Channel 10...
>
> That sound right?
> Thanks,
> Troy
>
> --- Tom Kerekes wrote:
> >
> > Assuming all the axes are similar and you wired the Step/Dirs and Encoders in
> > sequence, save the fist configured axis to a *.mot file then load it into the
> > other axis and add 1 to both the InputChan0 and OutputChan0.
> >
> > TK
> >
> >
> >
> >
> > ________________________________
> > From: tmday7 <tmday@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Tue, May 3, 2011 1:28:46 PM
> > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> >
> > Â
> > On Configuration window, how do i configure window for next axis?
> > Troy
> >
> > --- TK wrote:
> > >
> > > Hi Troy,
> > >
> > > Seems strange that all that weird behavior would be caused by a missing charge
> > >pump. You could wire the charge pump to a KFLOP PWM if you wish.
> > >
> > >
> > > The next steps would be to determine your max velocity, acceleration, and Jerk
> > >that you would like to use with your system. Note that the units on the Step
> > >Response Screen are all in microsteps. Then repeat for all your axes.
> > >
> > >
> > > I expect you want to run closed loop from your glass scales. So compute a
> > >factor that will convert from encoder counts to microsteps. Enter it into the
> > >InputGain0 parameter. If correct the Position and Command plots should nearly
> > >match on the Step Response Screen.
> > >
> > >
> > >
> > > TK
> > >
> > > On May 3, 2011, at 9:29 AM, "tmday7" <tmday@> wrote:
> > >
> > > > Found it. :)
> > > > I remembered when we did the TriOnics mill, it also had a PMDX board.And
> > >sumthin we never did finish (I think we didnt) was to use the Charge Pump
> > >feature. So i went and disabled the Charge Pump on my PMDX 125 board and all is
> > >responding now :) :)
> > >
> > > >
> > > > Toggling Bit8 moves X axis. Then i loaded SimpleStepDirAxis0.mot and moved X
> > >axis.
> > > >
> > > > So,.. where to go from here?
> > > > Troy
> > > >
> > > > --- "tmday7"wrote:
> > > > >
> > > > > Sorry, iam bad for that. :)
> > > > > http://www.pmdx.com/Doc/Archive/PMDX-125_Manual_04.pdf
> > > > >
> > > > > Ill reflash, double check wiring,ill put together a wiring diagram also.
> > > > > Troy
> > > > > --- Tom Kerekeswrote:
> > > > > >
> > > > > > Hi Troy,
> > > > > >
> > > > > > It sounds like luck is not on your side :}
> > > > > >
> > > > > > You probably have a wiring error.Ãâ Possibly a missing ground.Ãâ Without
> > >a ground
> > >
> > > > > > it is possible to have the weird cross talk between IOs that you
> > >describe.Ãâ I
> > >
> > > > > > don't know which PMDX board you have or how you are wired to it.Ãâ Maybe
> > >you can
> > >
> > > > > > post a diagram.Ãâ You said you included a link but I don't see it. All
> > >KFLOP
> > >
> > > > > > should need to do to cause a step is to toggle the Step line.Ãâ If it is
> > >doing
> > >
> > > > > > that and there is no Step then the problem is further down stream.
> > > > > >
> > > > > > BTW did you Flash any User Programs or Configuration into the board?Ãâ
> > >This is
> > >
> > > > > > not necessary or recommended.Ãâ If you have please re-Flash the V4.24
> > >Version.
> > > > > >
> > > > > > Regards
> > > > > > TK
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > ________________________________
> > > > > > From: tmday7 <tmday@>
> > > > > > To: DynoMotion@yahoogroups.com
> > > > > > Sent: Tue, May 3, 2011 6:11:50 AM
> > > > > > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> > > > > >
> > > > > > Ãâ
> > > > > > As to seeing movement, i never saw any, even after several clicks.
> > > > > > One more thing i noticed, is after power cycle of KFLOP, Steps LED on the
> > >PMDX
> > >
> > > > > > board would flicker constant, until i checked the #44 and #45 in the
> > >Digital I/O
> > >
> > > > > > screen of Kmotion.
> > > > > > Troy
> > > > > >
> > > > > > --- "tmday7"wrote:
> > > > > > >
> > > > > > > Noticed sumthinelse, did a power cycle of KFLOP and restarted Kmotion.
> > >Now when
> > >
> > > > > > >i go to the Digital I/O window Output 8 threw 15 are checked, 8 threw 15
> > >State
> > >
> > > > > > >and 44,45 Output are toggling.
> > > > > > > Whats that about?
> > > > > > > Troy
> > > > > > >
> > > > > > > --- "tmday7"wrote:
> > > > > > > >
> > > > > > > > Checked cable and all is good.
> > > > > > > > 2 things i noticed when toggling the Bit8, 1st is there is a LED on
> > >the PMDX
> > >
> > > > > > >125 board that shows Steps. When i toggle the Bit8, the Steps LED on the
> > >PMDX
> > >
> > > > > > >will light up, but still no movement, unless it is so small that motors
> > >wont
> > >
> > > > > > >move?
> > > > > > > >
> > > > > > > > 2nd is, when i toggle Bit8 Limit +1, Home 2 and 3 and the #44 bit
> > >will toggle
> > >
> > > > > > >the State.
> > > > > > > >
> > > > > > > > Here is link to the PMDX manual if that helps.
> > > > > > > > Thanks,
> > > > > > > > Troy
> > > > > > > >
> > > > > > > > --- "tmday7" wrote:
> > > > > > > > >
> > > > > > > > > I am showing the 3V toggle as i toggle bit 8. But there is no
> > >movement of
> > >
> > > > > > >stepper motor. I know that Parallel cable from KFLOP to PMDX is good, as
> > >i have
> > >
> > > > > > >been using that cable on my Parallel Port with Mach3. But i will check
> > >pin at
> > >
> > > > > > >PMDX board just to be shore.
> > > > > > > > >
> > > > > > > > > Troy
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Tom Kerekeswrote:
> > > > > > > > > >
> > > > > > > > > > Ok, cycle power on KFLOP so everything is in default state.
> > > > > > > > > >
> > > > > > > > > > On the Digital I/O Screen set IO Bits 8 and 9 asÃÆ'ââ¬Å¡Ãâ outputs.
> > > > > > > > > >
> > > > > > > > > > Toggle Bit8 (Step) on and off.ÃÆ'ââ¬Å¡Ãâ Does the motor Step?ÃÆ'ââ¬Å¡Ãâ
> > >If not check the
> > >
> > > > > > >pin with
> > > > > > >
> > > > > > > > > > a voltmeter does it switch between ~0v and ~ 3V?
> > > > > > > > > >
> > > > > > > > > > TK
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > ________________________________
> > > > > > > > > > From: tmday7 <tmday@>
> > > > > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > > > > Sent: Mon, May 2, 2011 3:13:07 PM
> > > > > > > > > > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> > > > > > > > > >
> > > > > > > > > > ÃÆ'ââ¬Å¡Ãâ
> > > > > > > > > > Ok, maybe we need to go back further in setup. :)
> > > > > > > > > > I got no movement at all.
> > > > > > > > > > Troy
> > > > > > > > > >
> > > > > > > > > > Tom Kerekes wrote:
> > > > > > > > > > >
> > > > > > > > > > > Hi Troy,
> > > > > > > > > > >
> > > > > > > > > > > Start by loading the .mot configuration file called:
> > > > > > > > > > >
> > > > > > > > > > > SimpleStepDirAxis0.mot
> > > > > > > > > > >
> > > > > > > > > > > I think the Gecko G203V drives are best driven using KFLOP's
> > >3.3V
> > >
> > > > > > > > > > > LVTTLÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡Ãâ source-sink output
> > >mode.ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡Ãâ Select this mode by adding 8 to
> > >
> > > > > > >the channel
> > > > > > >
> > > > > > > > > > > number as described here:ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡Ãâ
> > > > > > > > > > >
> > > > > > > > > > > http://www.dynomotion.com/Help/StepAndDirection/StepAndDir.htm
> > > > > > > > > > >
> > > > > > > > > > > Test if you can get each axis to move properly using open loop
> > >stepper
> > >
> > > > > > >mode
> > > > > > >
> > > > > > > > > > >from
> > > > > > > > > > >
> > > > > > > > > > > the KMotion Step Response Screen.
> > > > > > > > > > >
> > > > > > > > > > > Regards
> > > > > > > > > > > TK
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > ________________________________
> > > > > > > > > > > From: tmday7 <tmday@>
> > > > > > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > > > > > Sent: Mon, May 2, 2011 11:08:45 AM
> > > > > > > > > > > Subject: [DynoMotion] KFLOP Setup on a Mill/Drill
> > > > > > > > > > >
> > > > > > > > > > > ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡Ãâ
> > > > > > > > > > > Hello Tom and all,
> > > > > > > > > > > I have setup a KFLOP on a Bridgeport type mill once, a couple
> > >years
> > >
> > > > > > >ago.(TK did
> > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > all the hard work;) And hopefully this post will help others
> > >also, as i
> > >
> > > > > > >need it
> > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > again :)
> > > > > > > > > > >
> > > > > > > > > > > Now iam working on a Mill/Drill like this one
> > > > > > > > > > > http://www.use-enco.com/CGI/INPDFF?PMPAGE=594&PMCTLG=00, except
> > >i built
> > >
> > > > > > >the
> > > > > > >
> > > > > > > > > > > column and Z Axis.
> > > > > > > > > > > (Ill post some pics later)
> > > > > > > > > > >
> > > > > > > > > > > Iam using 906 oz/in steppers, 2:1 pulley ratio on all 3 axis,
> > >Gecko
> > >
> > > > > > >G203V
> > > > > > >
> > > > > > > > > > > drives, PMDX-125 breakout board, 3/4 inch ballscrews and linear
> > >scales
> > >
> > > > > > >on all 3
> > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > axis.
> > > > > > > > > > >
> > > > > > > > > > > All wiring from B.O.B. and KFLOP is already finished.I have
> > >been using
> > >
> > > > > > >Mach3 to
> > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > control machine.(Ive been using Mach3 for a few years, thats
> > >what
> > >
> > > > > > >started this
> > > > > > >
> > > > > > > > > >
> > > > > > > > > > > whole DIY CNC adventure. :))
> > > > > > > > > > >
> > > > > > > > > > > I have installed latest Kmotion software as per Dynomotions
> > > > > > > > > > >
> > > > > >
> > >>instructions..http://dynomotion.com/Help/KFLOPQuickStart/KFLOPQuickStart.htm,
> > >
> > > > > > >
> > > > > > > > > > > and show feedback from all scales in the Axis window of
> > >Kmotion.
> > > > > > > > > > >
> > > > > > > > > > > So Tom, whats the next steps to setting up KFLOP? :)
> > > > > > > > > > > Thanks,
> > > > > > > > > > > Troy
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > >
> >
>
|
|
Group: DynoMotion |
Message: 1087 |
From: Tom Kerekes |
Date: 5/3/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Hi Troy,
First compute the number of microsteps per inch resolution your system has. You should know all the mechanical components of your system. Such as the number of full steps/rev of your motors (usually 200), the amount of microstepping for your amplifiers (usually 10 for Geckos), any pulley or gear ratios in your drive(I'll assume none or 1:1), and the number of turns per inch of your lead screw (usually around 5tpi).
200 x 10 x 1 x 5 = 10000 microsteps per inch
Test by commanding a move of 100000 microsteps and measure if the axis moves 10 inches.
Next compute the encoder resolution in counts per inch. Although it says 5um that might be cycles or there might be 10X interpolation or something else. So test this my moving a known distance for example of 100mm and check if you get 20000 encoder counts or if you get some multiple of that. If it is 5um per count the resolution per inch would be.
1inch/5um = 25.4mm/5um = 5080 encoder counts/inch
Therefore to match the resolutions set:
InputGain0 = 10000/5080 = 1.9685
Regards
TK
Group: DynoMotion |
Message: 1088 |
From: tmday7 |
Date: 5/3/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Ok Tom :) You have to put it in dum machinist terms for me ;)
I Have a 2:1 Pulley Ratio 5tpi ball screw.
Geckos G203V http://www.geckodrive.com/g203v-p-34.html which i believe is 10 microstep as you said.
Calculations didnt workout right at 20000 per inch. Instead i came up with 15,038-15,050, using an indicator to measure travel.
Manufacture of scales advertise them as being .0002" Resolution
You wrote"...and check if you get 20000 encoder counts...".
Where can i see the encoder counts in Kmotion?
Here is links to Kmotion screen shots of X axis config and response.
http://groups.yahoo.com/group/DynoMotion/photos/album/176979248/pic/329027615/view?picmode=&mode=tn&order=ordinal&start=1&count=20&dir=asc
http://groups.yahoo.com/group/DynoMotion/photos/album/176979248/pic/329027615/view?picmode=large&mode=tn&order=ordinal&start=1&dir=asc
Sorry about all these dum questions. :)
Thanks,
Troy
--- Tom Kerekes wrote:
>
> Hi Troy,
>
> First compute the number of microsteps per inch resolution your system has. You
> should know all the mechanical components of your system. Such as the number of
> full steps/rev of your motors (usually 200), the amount of microstepping for
> your amplifiers (usually 10 for Geckos), any pulley or gear ratios in your
> drive(I'll assume none or 1:1), and the number of turns per inch of your lead
> screw (usually around 5tpi).
>
> 200 x 10 x 1 x 5 = 10000 microsteps per inch
>
> Test by commanding a move of 100000 microsteps and measure if the axis moves 10
> inches.
>
> Next compute the encoder resolution in counts per inch. Although it says 5um
> that might be cycles or there might be 10X interpolation or something else. So
> test this my moving a known distance for example of 100mm and check if you get
> 20000 encoder counts or if you get some multiple of that. If it is 5um per
> count the resolution per inch would be.
>
> 1inch/5um = 25.4mm/5um = 5080 encoder counts/inch
>
> Therefore to match the resolutions set:
>
> InputGain0 = 10000/5080 = 1.9685
>
> Regards
> TK
>
>
>
>
> ________________________________
> From: tmday7 <tmday@...>
> To: DynoMotion@yahoogroups.com
> Sent: Tue, May 3, 2011 3:05:14 PM
> Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
>
> Â
> You said "convert from encoder counts to microsteps. Enter it into the
> InputGain0 parameter."
>
>
> How do i convert?
>
> Testing Certificate for scale says Resolution is 5.0 um
> Thanks,
> Troy
>
> --- "tmday7"wrote:
> >
> > Ok. This is what i have (X Axis)Channel 0, Input Channel 0, Output Channel
> >8...(Y Axis)Channel 1, Input Channel 1, Output Channel 9...(Z Axis)Channel 2,
> >Input Channel 2, Output Channel 10...
> >
> > That sound right?
> > Thanks,
> > Troy
> >
> > --- Tom Kerekes wrote:
> > >
> > > Assuming all the axes are similar and you wired the Step/Dirs and Encoders in
> >
> > > sequence, save the fist configured axis to a *.mot file then load it into the
> >
> > > other axis and add 1 to both the InputChan0 and OutputChan0.
> > >
> > > TK
> > >
> > >
> > >
> > >
> > > ________________________________
> > > From: tmday7 <tmday@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Tue, May 3, 2011 1:28:46 PM
> > > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> > >
> > > ÃÂ
> > > On Configuration window, how do i configure window for next axis?
> > > Troy
> > >
> > > --- TK wrote:
> > > >
> > > > Hi Troy,
> > > >
> > > > Seems strange that all that weird behavior would be caused by a missing
> >charge
> >
> > > >pump. You could wire the charge pump to a KFLOP PWM if you wish.
> > > >
> > > >
> > > > The next steps would be to determine your max velocity, acceleration, and
> >Jerk
> >
> > > >that you would like to use with your system. Note that the units on the Step
> >
> > > >Response Screen are all in microsteps. Then repeat for all your axes.
> > > >
> > > >
> > > > I expect you want to run closed loop from your glass scales. So compute a
> > > >factor that will convert from encoder counts to microsteps. Enter it into
> >the
> >
> > > >InputGain0 parameter. If correct the Position and Command plots should
> >nearly
> >
> > > >match on the Step Response Screen.
> > > >
> > > >
> > > >
> > > > TK
> > > >
> > > > On May 3, 2011, at 9:29 AM, "tmday7" <tmday@> wrote:
> > > >
> > > > > Found it. :)
> > > > > I remembered when we did the TriOnics mill, it also had a PMDX board.And
>
> > > >sumthin we never did finish (I think we didnt) was to use the Charge Pump
> > > >feature. So i went and disabled the Charge Pump on my PMDX 125 board and all
> >is
> >
> > > >responding now :) :)
> > > >
> > > > >
> > > > > Toggling Bit8 moves X axis. Then i loaded SimpleStepDirAxis0.mot and
> >moved X
> >
> > > >axis.
> > > > >
> > > > > So,.. where to go from here?
> > > > > Troy
> > > > >
> > > > > --- "tmday7"wrote:
> > > > > >
> > > > > > Sorry, iam bad for that. :)
> > > > > > http://www.pmdx.com/Doc/Archive/PMDX-125_Manual_04.pdf
> > > > > >
> > > > > > Ill reflash, double check wiring,ill put together a wiring diagram
> >also.
> > > > > > Troy
> > > > > > --- Tom Kerekeswrote:
> > > > > > >
> > > > > > > Hi Troy,
> > > > > > >
> > > > > > > It sounds like luck is not on your side :}
> > > > > > >
> > > > > > > You probably have a wiring error.ÃÆ'ââ¬Å¡ Possibly a missing
> >ground.ÃÆ'ââ¬Å¡ Without
> >
> > > >a ground
> > > >
> > > > > > > it is possible to have the weird cross talk between IOs that you
> > > >describe.ÃÆ'ââ¬Å¡ I
> > > >
> > > > > > > don't know which PMDX board you have or how you are wired to it.ÃÆ'ââ¬Å¡
> >Maybe
> >
> > > >you can
> > > >
> > > > > > > post a diagram.ÃÆ'ââ¬Å¡ You said you included a link but I don't see it.
> >All
> >
> > > >KFLOP
> > > >
> > > > > > > should need to do to cause a step is to toggle the Step line.ÃÆ'ââ¬Å¡ If
> >it is
> >
> > > >doing
> > > >
> > > > > > > that and there is no Step then the problem is further down stream.
> > > > > > >
> > > > > > > BTW did you Flash any User Programs or Configuration into the
> >board?ÃÆ'ââ¬Å¡
> >
> > > >This is
> > > >
> > > > > > > not necessary or recommended.ÃÆ'ââ¬Å¡ If you have please re-Flash the
> >V4.24
> >
> > > >Version.
> > > > > > >
> > > > > > > Regards
> > > > > > > TK
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > ________________________________
> > > > > > > From: tmday7 <tmday@>
> > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > Sent: Tue, May 3, 2011 6:11:50 AM
> > > > > > > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> > > > > > >
> > > > > > > ÃÆ'ââ¬Å¡
> > > > > > > As to seeing movement, i never saw any, even after several clicks.
> > > > > > > One more thing i noticed, is after power cycle of KFLOP, Steps LED on
> >the
> >
> > > >PMDX
> > > >
> > > > > > > board would flicker constant, until i checked the #44 and #45 in the
>
> > > >Digital I/O
> > > >
> > > > > > > screen of Kmotion.
> > > > > > > Troy
> > > > > > >
> > > > > > > --- "tmday7"wrote:
> > > > > > > >
> > > > > > > > Noticed sumthinelse, did a power cycle of KFLOP and restarted
> >Kmotion.
> >
> > > >Now when
> > > >
> > > > > > > >i go to the Digital I/O window Output 8 threw 15 are checked, 8
> >threw 15
> >
> > > >State
> > > >
> > > > > > > >and 44,45 Output are toggling.
> > > > > > > > Whats that about?
> > > > > > > > Troy
> > > > > > > >
> > > > > > > > --- "tmday7"wrote:
> > > > > > > > >
> > > > > > > > > Checked cable and all is good.
> > > > > > > > > 2 things i noticed when toggling the Bit8, 1st is there is a LED
> >on
> >
> > > >the PMDX
> > > >
> > > > > > > >125 board that shows Steps. When i toggle the Bit8, the Steps LED on
> >the
> >
> > > >PMDX
> > > >
> > > > > > > >will light up, but still no movement, unless it is so small that
> >motors
> >
> > > >wont
> > > >
> > > > > > > >move?
> > > > > > > > >
> > > > > > > > > 2nd is, when i toggle Bit8 Limit +1, Home 2 and 3 and the #44 bit
> >
> > > >will toggle
> > > >
> > > > > > > >the State.
> > > > > > > > >
> > > > > > > > > Here is link to the PMDX manual if that helps.
> > > > > > > > > Thanks,
> > > > > > > > > Troy
> > > > > > > > >
> > > > > > > > > --- "tmday7" wrote:
> > > > > > > > > >
> > > > > > > > > > I am showing the 3V toggle as i toggle bit 8. But there is no
> > > >movement of
> > > >
> > > > > > > >stepper motor. I know that Parallel cable from KFLOP to PMDX is
> >good, as
> >
> > > >i have
> > > >
> > > > > > > >been using that cable on my Parallel Port with Mach3. But i will
> >check
> >
> > > >pin at
> > > >
> > > > > > > >PMDX board just to be shore.
> > > > > > > > > >
> > > > > > > > > > Troy
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Tom Kerekeswrote:
> > > > > > > > > > >
> > > > > > > > > > > Ok, cycle power on KFLOP so everything is in default state.
> > > > > > > > > > >
> > > > > > > > > > > On the Digital I/O Screen set IO Bits 8 and 9
> >asÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡ outputs.
> > > > > > > > > > >
> > > > > > > > > > > Toggle Bit8 (Step) on and off.ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡ Does the motor
> >Step?ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡
> >
> > > >If not check the
> > > >
> > > > > > > >pin with
> > > > > > > >
> > > > > > > > > > > a voltmeter does it switch between ~0v and ~ 3V?
> > > > > > > > > > >
> > > > > > > > > > > TK
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > ________________________________
> > > > > > > > > > > From: tmday7 <tmday@>
> > > > > > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > > > > > Sent: Mon, May 2, 2011 3:13:07 PM
> > > > > > > > > > > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> > > > > > > > > > >
> > > > > > > > > > > ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡
> > > > > > > > > > > Ok, maybe we need to go back further in setup. :)
> > > > > > > > > > > I got no movement at all.
> > > > > > > > > > > Troy
> > > > > > > > > > >
> > > > > > > > > > > Tom Kerekes wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > Hi Troy,
> > > > > > > > > > > >
> > > > > > > > > > > > Start by loading the .mot configuration file called:
> > > > > > > > > > > >
> > > > > > > > > > > > SimpleStepDirAxis0.mot
> > > > > > > > > > > >
> > > > > > > > > > > > I think the Gecko G203V drives are best driven using
> >KFLOP's
> >
> > > >3.3V
> > > >
> > > > > > > > > > > > LVTTLÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡ source-sink
> >output
> >
> > > >mode.ÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡ Select this mode by adding 8 to
>
> > > >
> > > > > > > >the channel
> > > > > > > >
> > > > > > > > > > > > number as described
> >here:ÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡
> >
> > > > > > > > > > > >
> > > > > > > > > > > >
> >http://www.dynomotion.com/Help/StepAndDirection/StepAndDir.htm
> > > > > > > > > > > >
> > > > > > > > > > > > Test if you can get each axis to move properly using open
> >loop
> >
> > > >stepper
> > > >
> > > > > > > >mode
> > > > > > > >
> > > > > > > > > > > >from
> > > > > > > > > > > >
> > > > > > > > > > > > the KMotion Step Response Screen.
> > > > > > > > > > > >
> > > > > > > > > > > > Regards
> > > > > > > > > > > > TK
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > ________________________________
> > > > > > > > > > > > From: tmday7 <tmday@>
> > > > > > > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > > > > > > Sent: Mon, May 2, 2011 11:08:45 AM
> > > > > > > > > > > > Subject: [DynoMotion] KFLOP Setup on a Mill/Drill
> > > > > > > > > > > >
> > > > > > > > > > > > ÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡
> > > > > > > > > > > > Hello Tom and all,
> > > > > > > > > > > > I have setup a KFLOP on a Bridgeport type mill once, a
> >couple
> >
> > > >years
> > > >
> > > > > > > >ago.(TK did
> > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > all the hard work;) And hopefully this post will help
> >others
> >
> > > >also, as i
> > > >
> > > > > > > >need it
> > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > again :)
> > > > > > > > > > > >
> > > > > > > > > > > > Now iam working on a Mill/Drill like this one
> > > > > > > > > > > > http://www.use-enco.com/CGI/INPDFF?PMPAGE=594&PMCTLG=00,
> >except
> >
> > > >i built
> > > >
> > > > > > > >the
> > > > > > > >
> > > > > > > > > > > > column and Z Axis.
> > > > > > > > > > > > (Ill post some pics later)
> > > > > > > > > > > >
> > > > > > > > > > > > Iam using 906 oz/in steppers, 2:1 pulley ratio on all 3
> >axis,
> >
> > > >Gecko
> > > >
> > > > > > > >G203V
> > > > > > > >
> > > > > > > > > > > > drives, PMDX-125 breakout board, 3/4 inch ballscrews and
> >linear
> >
> > > >scales
> > > >
> > > > > > > >on all 3
> > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > axis.
> > > > > > > > > > > >
> > > > > > > > > > > > All wiring from B.O.B. and KFLOP is already finished.I have
> >
> > > >been using
> > > >
> > > > > > > >Mach3 to
> > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > control machine.(Ive been using Mach3 for a few years,
> >thats
> >
> > > >what
> > > >
> > > > > > > >started this
> > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > > whole DIY CNC adventure. :))
> > > > > > > > > > > >
> > > > > > > > > > > > I have installed latest Kmotion software as per Dynomotions
> >
> > > > > > > > > > > >
> > > > > > >
> > >
> >>>instructions..http://dynomotion.com/Help/KFLOPQuickStart/KFLOPQuickStart.htm,
> >
> > > >
> > > > > > > >
> > > > > > > > > > > > and show feedback from all scales in the Axis window of
> > > >Kmotion.
> > > > > > > > > > > >
> > > > > > > > > > > > So Tom, whats the next steps to setting up KFLOP? :)
> > > > > > > > > > > > Thanks,
> > > > > > > > > > > > Troy
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
|
|
Group: DynoMotion |
Message: 1089 |
From: Tom Kerekes |
Date: 5/4/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Hi Troy,
You have an an unexplained factor of 3/4 in your motor drive somewhere.
Run experiments to find the dicrepency.
If you command a move of 2000 steps does the motor move 1 revolution?
Does the Lead screw turn 1/2 revolution?
Does the table advance 0.100 inches?
TK
Group: DynoMotion |
Message: 1090 |
From: tmday7 |
Date: 5/4/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Ahhh!!! I was remembering TriOnics mill, IT is a 2:1, on mine i made it a little less 1.5:1 ..Duh :) Sorry, its been over a year since
i messed with this machine. Starting to get the "cobwebs" out now ;)
So the 15,000 steps per inch is right and the 15,038-15,050 i
had before to get a full 1.00" of movement is because of mechanical slop?
When i did test of 2000 steps , it moved .130 - .132", motor turned 1 turn, screw turned almost 3/4(going by a mark and eye).
Thanks again,
Troy
--- Tom Kerekes wrote:
>
> Hi Troy,
>
> You have an an unexplained factor of 3/4 in your motor drive somewhere.
>
> Run experiments to find the dicrepency.
>
> If you command a move of 2000 steps does the motor move 1 revolution?
>
> Does the Lead screw turn 1/2 revolution?Â
>
> Does the table advance 0.100 inches?
>
> TK
>
> Â
> ________________________________
> From: tmday7 <tmday@...>
> To: DynoMotion@yahoogroups.com
> Sent: Tue, May 3, 2011 7:06:40 PM
> Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
>
> Â
> Ok Tom :) You have to put it in dum machinist terms for me ;)
>
> I Have a 2:1 Pulley Ratio 5tpi ball screw.
> Geckos G203V http://www.geckodrive.com/g203v-p-34.html which i believe is 10
> microstep as you said.
>
> Calculations didnt workout right at 20000 per inch. Instead i came up with
> 15,038-15,050, using an indicator to measure travel.
>
> Manufacture of scales advertise them as being .0002" Resolution
> You wrote"...and check if you get 20000 encoder counts...".
> Where can i see the encoder counts in Kmotion?
>
> Here is links to Kmotion screen shots of X axis config and response.
>
> http://groups.yahoo.com/group/DynoMotion/photos/album/176979248/pic/329027615/view?picmode=&mode=tn&order=ordinal&start=1&count=20&dir=asc
>
>
> http://groups.yahoo.com/group/DynoMotion/photos/album/176979248/pic/329027615/view?picmode=large&mode=tn&order=ordinal&start=1&dir=asc
>
>
> Sorry about all these dum questions. :)
> Thanks,
> Troy
|
|
Group: DynoMotion |
Message: 1091 |
From: Tom Kerekes |
Date: 5/4/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
ok good. So for your system:
15000 microsteps per inch
5080 encoder counts per inch
InputGain0 factor should be 2.95276 to match them.
Yes the small errors are probably mechanical. Actually we are in a perfect position to test the benefits of running closed loop. Please run some plots similar to what you did before but with the new more exact factor and also push the Zero button before the motion so the microsteps command and the measured encoder both start off from the same value (zero). The plots should match very closely, possibly so closely it is hard to distinguish them. You can then zoom in by left-click dragging with the mouse. Or switch to displaying Position Error, Output vs Time. This error will represent the positioning error of your system due to mechanical compliance, stepper motor error, backlash, leadscrew errors, etc.. as measured by your glass scales.
Next switch to CL Step (closed loop stepper output mode), PID settings, and low pass filter as described here:
Then repeat the same plots showing (hopefully) great improvement.
Regards
TK
Group: DynoMotion |
Message: 1092 |
From: tmday7 |
Date: 5/4/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Ok. I was close than using the eye i got 2.95 :)
I configured CL Step,still on Xaxis, here is pics of Step Response screen.How does it look?
I set the Filter to what is described in document.
http://groups.yahoo.com/group/DynoMotion/photos/album/176979248/pic/985986324/view?picmode=large&mode=tn&order=ordinal&start=1&dir=asc
http://groups.yahoo.com/group/DynoMotion/photos/album/176979248/pic/1813217482/view?picmode=large&mode=tn&order=ordinal&start=1&dir=asc
http://groups.yahoo.com/group/DynoMotion/photos/album/176979248/pic/985986324/view?picmode=large&mode=tn&order=ordinal&start=1&dir=asc
With current settings there is a VERY slight dither at end of travel in both directions when coming to stop.
Let me know what i might need to adjust.
And for feedrate, how do figure what the Inches Per Minute that the axis in traveling?
Thanks,
Troy
--- Tom Kerekes wrote:
>
> ok good. So for your system:
>
> 15000 microsteps per inch
> 5080 encoder counts per inch
>
> InputGain0 factor should be 2.95276 to match them.
>
> Yes the small errors are probably mechanical. Actually we are in a perfect
> position to test the benefits of running closed loop. Please run some plots
> similar to what you did before but with the new more exact factor and also push
> the Zero button before the motion so the microsteps command and the measured
> encoder both start off from the same value (zero). The plots should match very
> closely, possibly so closely it is hard to distinguish them. You can then zoom
> in by left-click dragging with the mouse. Or switch to displaying Position
> Error, Output vs Time. This error will represent the positioning error of your
> system due to mechanical compliance, stepper motor error, backlash, leadscrew
> errors, etc.. as measured by your glass scales.
>
> Next switch to CL Step (closed loop stepper output mode), PID settings, and low
> pass filter as described here:
>
> http://www.dynomotion.com/Help/ClosedLoopStep/ClosedLoopStepper.htm
>
>
> Then repeat the same plots showing (hopefully) great improvement.
>
> Regards
> TK
>
>
|
|
Group: DynoMotion |
Message: 1093 |
From: Tom Kerekes |
Date: 5/4/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Hi Troy,
Very good. I see you uploaded one more plot for closed loop errors where you didn't include a link.
The units are all in microsteps - 15,000 microsteps per inch or 1 mil would be 15 on the left Y axis.
The move size of 15000 at 45000 usteps/sec is a 1 inch move at 3 inches per second (180ipm).
Open loop the error has a range of about 6 mils during the motion and after moving back to the same spot is off by 1.1 mils
Closed loop the error has a range of about 3 mils during the motion and has no error after stopping.
I don't really understand what "dither" you are referring to. I don't really see it in the plots. What it might be is that it looks like you have about 1 mil of backlash in your system which can cause the motor to "hunt" or dither back and forth the backlash amount trying to hold zero error at the encoder. If this is bothersome you can use the Deadband settings. This basically causes the servo to stop when it gets close to zero error rather than driving all the way to zero and possibly overshooting slightly. This will increase the system error slightly but may stop the "dithering". Try a Deadband range of 10 gain 0 to see if it helps.
Thanks
TK
Group: DynoMotion |
Message: 1094 |
From: tmday7 |
Date: 5/4/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Here is Deadband added to X axis and YandZ also with Closed Loop.And i slowed down to 140i.p.m. 180 little to fast for machine this little.:) 140 maybe also. ;)
http://groups.yahoo.com/group/DynoMotion/photos/album/176979248/pic/322538044/view?picmode=large&mode=tn&order=ordinal&start=1&dir=asc
A couple more things...What wood be a good Max Follow Error for my setup , by looking at the Step Response results?
And on Y and Z i had to make the InputGain to minus.(-2.95276) If i remember right, this is because of ball screws not being Left Handed?
If all looks good, whats next? Ready to Config Mach3 now?
Thanks,
Troy
--- Tom Kerekes wrote:
>
> Hi Troy,
>
> Very good. I see you uploaded one more plot for closed loop errors where you
> didn't include a link.
>
> http://groups.yahoo.com/group/DynoMotion/photos/album/176979248/pic/827240163/view?picmode=large&mode=tn&order=ordinal&start=1&dir=asc
>
>
> The units are all in microsteps - 15,000 microsteps per inch or 1 mil would be
> 15 on the left Y axis.
>
> The move size of 15000 at 45000 usteps/sec is a 1 inch move at 3 inches per
> second (180ipm).
>
> Open loop the error has a range of about 6 mils during the motion and after
> moving back to the same spot is off by 1.1 mils
>
> Closed loop the error has a range of about 3 mils during the motion and has no
> error after stopping.
>
> I don't really understand what "dither" you are referring to. I don't really
> see it in the plots. What it might be is that it looks like you have about 1
> mil of backlash in your system which can cause the motor to "hunt" or dither
> back and forth the backlash amount trying to hold zero error at the encoder. If
> this is bothersome you can use the Deadband settings. This basically causes the
> servo to stop when it gets close to zero error rather than driving all the way
> to zero and possibly overshooting slightly. This will increase the system error
> slightly but may stop the "dithering". Try a Deadband range of 10 gain 0 to see
> if it helps.
>
> Thanks
> TK
>
>
>
>
> ________________________________
> From: tmday7 <tmday@...>
> To: DynoMotion@yahoogroups.com
> Sent: Wed, May 4, 2011 3:15:31 PM
> Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
>
> Â
> Ok. I was close than using the eye i got 2.95 :)
> I configured CL Step,still on Xaxis, here is pics of Step Response screen.How
> does it look?
>
> I set the Filter to what is described in document.
>
> http://groups.yahoo.com/group/DynoMotion/photos/album/176979248/pic/985986324/view?picmode=large&mode=tn&order=ordinal&start=1&dir=asc
>
>
> http://groups.yahoo.com/group/DynoMotion/photos/album/176979248/pic/1813217482/view?picmode=large&mode=tn&order=ordinal&start=1&dir=asc
>
>
> http://groups.yahoo.com/group/DynoMotion/photos/album/176979248/pic/985986324/view?picmode=large&mode=tn&order=ordinal&start=1&dir=asc
>
>
> With current settings there is a VERY slight dither at end of travel in both
> directions when coming to stop.
> Let me know what i might need to adjust.
>
> And for feedrate, how do figure what the Inches Per Minute that the axis in
> traveling?
>
> Thanks,
> Troy
>
|
|
Group: DynoMotion |
Message: 1095 |
From: Tom Kerekes |
Date: 5/4/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Hi Troy,
Max error I saw was around 50 so I'd set the Max following error to 200.
The next step would be to make a Configuration and Initialization C program for your System.
See Step #4 here:
This flash video may help understand the process:
Regards
TK
Group: DynoMotion |
Message: 1096 |
From: tmday7 |
Date: 5/5/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Ok. Got init program working with a couple issues. I copied the Mach CL PMDX and inserted my own motor configs.
http://tech.groups.yahoo.com/group/DynoMotion/files/KFLOP%20MillDrill/
1) When i hit the Zero button in Mach, the Encoder DRO does not zero until i go to Kmotion and hit the zero button there. The VB is correct in the Mach3 Zero button.
2) When i do a .001" incremental step move the axis appears to be overshooting.(dithering)
3) My Z axis needs to be reversed. When i jog in + direction axis actually moves in minus direction.
Thanks,
Troy
--- Tom Kerekes wrote:
>
> Hi Troy,
>
> Max error I saw was around 50 so I'd set the Max following error to 200.
>
> The next step would be to make a Configuration and Initialization C program for
> your System.
>
> See Step #4 here:
>
> http://www.dynomotion.com/Help/Mach3Plugin/Mach3.htm
>
> This flash video may help understand the process:
>
> http://www.dynomotion.com/Help/FlashHelp/Parameters/index.html
>
> Regards
> TK
>
> From: tmday7 <tmday@...>
>
> Â
> Here is Deadband added to X axis and YandZ also with Closed Loop.And i slowed
> down to 140i.p.m. 180 little to fast for machine this little.:) 140 maybe also.
> ;)
>
> http://groups.yahoo.com/group/DynoMotion/photos/album/176979248/pic/322538044/view?picmode=large&mode=tn&order=ordinal&start=1&dir=asc
>
>
> A couple more things...What wood be a good Max Follow Error for my setup , by
> looking at the Step Response results?
>
> And on Y and Z i had to make the InputGain to minus.(-2.95276) If i remember
> right, this is because of ball screws not being Left Handed?
>
> If all looks good, whats next? Ready to Config Mach3 now?
> Thanks,
> Troy
>
|
|
Group: DynoMotion |
Message: 1097 |
From: tmday7 |
Date: 5/5/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Forgot to mention, iam using the NotifyZeroEncoderMach3 C program.
--- "tmday7" wrote:
>
> Ok. Got init program working with a couple issues. I copied the Mach CL PMDX and inserted my own motor configs.
>
> http://tech.groups.yahoo.com/group/DynoMotion/files/KFLOP%20MillDrill/
>
> 1) When i hit the Zero button in Mach, the Encoder DRO does not zero until i go to Kmotion and hit the zero button there. The VB is correct in the Mach3 Zero button.
>
> 2) When i do a .001" incremental step move the axis appears to be overshooting.(dithering)
>
> 3) My Z axis needs to be reversed. When i jog in + direction axis actually moves in minus direction.
>
> Thanks,
> Troy
>
> --- Tom Kerekes wrote:
> >
> > Hi Troy,
> >
> > Max error I saw was around 50 so I'd set the Max following error to 200.
> >
> > The next step would be to make a Configuration and Initialization C program for
> > your System.
> >
> > See Step #4 here:
> >
> > http://www.dynomotion.com/Help/Mach3Plugin/Mach3.htm
> >
> > This flash video may help understand the process:
> >
> > http://www.dynomotion.com/Help/FlashHelp/Parameters/index.html
> >
> > Regards
> > TK
> >
>
> > From: tmday7 <tmday@>
>
> >
> > Â
> > Here is Deadband added to X axis and YandZ also with Closed Loop.And i slowed
> > down to 140i.p.m. 180 little to fast for machine this little.:) 140 maybe also.
> > ;)
> >
> > http://groups.yahoo.com/group/DynoMotion/photos/album/176979248/pic/322538044/view?picmode=large&mode=tn&order=ordinal&start=1&dir=asc
> >
> >
> > A couple more things...What wood be a good Max Follow Error for my setup , by
> > looking at the Step Response results?
> >
> > And on Y and Z i had to make the InputGain to minus.(-2.95276) If i remember
> > right, this is because of ball screws not being Left Handed?
> >
> > If all looks good, whats next? Ready to Config Mach3 now?
> > Thanks,
> > Troy
> >
>
|
|
Group: DynoMotion |
Message: 1099 |
From: Tom Kerekes |
Date: 5/5/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Hi Troy,
Regarding:
#1 - Check the KMotion Console. When you push the Zero X button is the Message 10100 printed? Also check that the Dynomotion Plugin Configuratio is set to pass Code in Variable 6 like the C program expects,
#2 - Still not sure what you mean here. It may be if your mechanics have 1 mil of backlash it may be difficult to hold position without the motor dithering back and forth 1 mil. Make a move size of 1 mil (15 microsteps) on the Step Response Screen. Can you see the "dither" there in either the commanded microsteps or the measured table position?
#3 To reverse the direction of a closed loop servo reverse the sign of both the OutputGain and InputGain0 parameters.
Regards
TK
Group: DynoMotion |
Message: 1100 |
From: tmday7 |
Date: 5/5/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
1) Yes it prints out.
MachPlugin is set to Thread4 Variable6. But Encoder DRO in Mach3 still doesnt zero.
2)When Step 15 with Kmotion i dont see dithering or overshooting.After this i adjusted the deadband a little higher and it made it better.
I probally just need to keep adjusting PID and deadband till i find a good "middle of the road" config?
3)Tried both Input Gain and OutputGain at minus, but it kept faulting out. Then i made OutputGain minus and InputGain plus.Now Zaxis moves in right direction.
Thanks,
Troy
--- Tom Kerekes wrote:
>
> Hi Troy,
>
> Regarding:
>
> #1 - Check the KMotion Console. When you push the Zero X button is the Message
> 10100 printed? Also check that the Dynomotion Plugin Configuratio is set to
> pass Code in Variable 6 like the C program expects,
>
> #2 - Still not sure what you mean here. It may be if your mechanics have 1 mil
> of backlash it may be difficult to hold position without the motor dithering
> back and forth 1 mil. Make a move size of 1 mil (15 microsteps) on the Step
> Response Screen. Can you see the "dither" there in either the commanded
> microsteps or the measured table position?
>
> #3 To reverse the direction of a closed loop servo reverse the sign of both the
> OutputGain and InputGain0 parameters.
>
> Regards
> TK
>
>
>
>
> ________________________________
> From: tmday7 <tmday@...>
> To: DynoMotion@yahoogroups.com
> Sent: Thu, May 5, 2011 8:19:35 AM
> Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
>
> Â
> Forgot to mention, iam using the NotifyZeroEncoderMach3 C program.
>
> --- "tmday7" wrote:
> >
> > Ok. Got init program working with a couple issues. I copied the Mach CL PMDX
> >and inserted my own motor configs.
> >
> > http://tech.groups.yahoo.com/group/DynoMotion/files/KFLOP%20MillDrill/
> >
> > 1) When i hit the Zero button in Mach, the Encoder DRO does not zero until i go
> >to Kmotion and hit the zero button there. The VB is correct in the Mach3 Zero
> >button.
> >
> > 2) When i do a .001" incremental step move the axis appears to be
> >overshooting.(dithering)
> >
> > 3) My Z axis needs to be reversed. When i jog in + direction axis actually
> >moves in minus direction.
> >
> > Thanks,
> > Troy
> >
> > --- Tom Kerekes wrote:
> > >
> > > Hi Troy,
> > >
> > > Max error I saw was around 50 so I'd set the Max following error to 200.
> > >
> > > The next step would be to make a Configuration and Initialization C program
> >for
> >
> > > your System.
> > >
> > > See Step #4 here:
> > >
> > > http://www.dynomotion.com/Help/Mach3Plugin/Mach3.htm
> > >
> > > This flash video may help understand the process:
> > >
> > > http://www.dynomotion.com/Help/FlashHelp/Parameters/index.html
> > >
> > > Regards
> > > TK
> > >
> >
> > > From: tmday7 <tmday@>
> >
> > >
> > > ÃÂ
> > > Here is Deadband added to X axis and YandZ also with Closed Loop.And i slowed
> >
> > > down to 140i.p.m. 180 little to fast for machine this little.:) 140 maybe
> >also.
> >
> > > ;)
> > >
> > >
> >http://groups.yahoo.com/group/DynoMotion/photos/album/176979248/pic/322538044/view?picmode=large&mode=tn&order=ordinal&start=1&dir=asc
> >
> > >
> > >
> > > A couple more things...What wood be a good Max Follow Error for my setup , by
> >
> > > looking at the Step Response results?
> > >
> > > And on Y and Z i had to make the InputGain to minus.(-2.95276) If i remember
>
> > > right, this is because of ball screws not being Left Handed?
> > >
> > > If all looks good, whats next? Ready to Config Mach3 now?
> > > Thanks,
> > > Troy
> > >
> >
>
|
|
Group: DynoMotion |
Message: 1101 |
From: Tom Kerekes |
Date: 5/6/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Hi Troy,
Regarding the Zero Button: what should happen is that the Commanded Dest in KFLOP should change to exactly match the Currently Measured Glass Scale Position. Verify this is actually happening on the KFLOP Axis Screen.
Then Mach3 computes a new Work Offset such to make the Commanded DROs (not the Encoder DROs) read Zero. Is this happening?
In Mach3 Ports & Pins - Encoder/MPG - the Encoder Resolution counts/unit should be set to the same value as your Motor Tuning Resolution "Steps Per" which in your case is 15000. Do you have this set properly?
Regards
TK
Group: DynoMotion |
Message: 1102 |
From: tmday7 |
Date: 5/6/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Pressing Zero button in Mach does not change anything in Kmotion. If i click the Reset in Mach then the Command and Encoder in Kmotion match each other.
"Then Mach3 computes a new Work Offset such to make the Commanded DROs (not the Encoder DROs) read Zero.Is this happening?"
Yes thats whats happening, the Command Position Zeros but not the Encoder Reading.
"....set to the same value as your Motor Tuning Resolution "Steps Per" which in your case is 15000.Do you have this set properly?
Yup, both set to 15000
As for dithering(or overshooting) i got that adjusted out with the I and Deadband Setting.All is good there now.
Troy
--- Tom Kerekes wrote:
>
> Hi Troy,
>
> Regarding the Zero Button: what should happen is that the Commanded Dest in
> KFLOP should change to exactly match the Currently Measured Glass Scale
> Position. Verify this is actually happening on the KFLOP Axis Screen.
>
> Then Mach3 computes a new Work Offset such to make the Commanded DROs (not the
> Encoder DROs) read Zero. Is this happening?
>
> In Mach3 Ports & Pins - Encoder/MPG - the Encoder Resolution counts/unit should
> be set to the same value as your Motor Tuning Resolution "Steps Per" which in
> your case is 15000. Do you have this set properly?
>
> Regards
> TK
>
>
>
>
> ________________________________
> From: tmday7 <tmday@...>
> To: DynoMotion@yahoogroups.com
> Sent: Thu, May 5, 2011 5:37:26 PM
> Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
>
> Â
> 1) Yes it prints out.
> MachPlugin is set to Thread4 Variable6. But Encoder DRO in Mach3 still doesnt
> zero.
>
> 2)When Step 15 with Kmotion i dont see dithering or overshooting.After this i
> adjusted the deadband a little higher and it made it better.
>
> I probally just need to keep adjusting PID and deadband till i find a good
> "middle of the road" config?
>
> 3)Tried both Input Gain and OutputGain at minus, but it kept faulting out. Then
> i made OutputGain minus and InputGain plus.Now Zaxis moves in right direction.
>
> Thanks,
> Troy
> --- Tom Kerekes wrote:
> >
> > Hi Troy,
> >
> > Regarding:
> >
> > #1 - Check the KMotion Console.ÃÂ When you push the Zero X button is the
> >Message
> >
> > 10100 printed?ÃÂ Also check that the Dynomotion Plugin Configuratio is set to
> > pass Code in Variable 6 like the C program expects,
> >
> > #2 - Still not sure what you mean here.ÃÂ It may be if your mechanics have 1
> >mil
> >
> > of backlash it may be difficult to hold position without the motor dithering
> > back and forth 1 mil.ÃÂ Make a move size of 1 mil (15 microsteps) on the Step
> > Response Screen.ÃÂ Can you see the "dither" there in either the commanded
> > microsteps or the measured table position?
> >
> > #3 To reverse the direction of a closed loop servo reverse the sign of both the
> >
> > OutputGain and InputGain0 parameters.
> >
> > Regards
> > TK
> >
> >
> >
> >
> > ________________________________
> > From: tmday7 <tmday@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Thu, May 5, 2011 8:19:35 AM
> > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> >
> > ÃÂ
> > Forgot to mention, iam using the NotifyZeroEncoderMach3 C program.
> >
> > --- "tmday7" wrote:
> > >
> > > Ok. Got init program working with a couple issues. I copied the Mach CL PMDX
>
> > >and inserted my own motor configs.
> > >
> > > http://tech.groups.yahoo.com/group/DynoMotion/files/KFLOP%20MillDrill/
> > >
> > > 1) When i hit the Zero button in Mach, the Encoder DRO does not zero until i
> >go
> >
> > >to Kmotion and hit the zero button there. The VB is correct in the Mach3 Zero
>
> > >button.
> > >
> > > 2) When i do a .001" incremental step move the axis appears to be
> > >overshooting.(dithering)
> > >
> > > 3) My Z axis needs to be reversed. When i jog in + direction axis actually
> > >moves in minus direction.
> > >
> > > Thanks,
> > > Troy
> > >
> > > --- Tom Kerekes wrote:
> > > >
> > > > Hi Troy,
> > > >
> > > > Max error I saw was around 50 so I'd set the Max following error to 200.
> > > >
> > > > The next step would be to make a Configuration and Initialization C program
> >
> > >for
> > >
> > > > your System.
> > > >
> > > > See Step #4 here:
> > > >
> > > > http://www.dynomotion.com/Help/Mach3Plugin/Mach3.htm
> > > >
> > > > This flash video may help understand the process:
> > > >
> > > > http://www.dynomotion.com/Help/FlashHelp/Parameters/index.html
> > > >
> > > > Regards
> > > > TK
> > > >
> > >
> > > > From: tmday7 <tmday@>
> > >
> > > >
> > > > ÃâÃÂ
> > > > Here is Deadband added to X axis and YandZ also with Closed Loop.And i
> >slowed
> >
> > >
> > > > down to 140i.p.m. 180 little to fast for machine this little.:) 140 maybe
> > >also.
> > >
> > > > ;)
> > > >
> > > >
> >>http://groups.yahoo.com/group/DynoMotion/photos/album/176979248/pic/322538044/view?picmode=large&mode=tn&order=ordinal&start=1&dir=asc
> >c
> > >
> > > >
> > > >
> > > > A couple more things...What wood be a good Max Follow Error for my setup ,
> >by
> >
> > >
> > > > looking at the Step Response results?
> > > >
> > > > And on Y and Z i had to make the InputGain to minus.(-2.95276) If i
> >remember
> >
> >
> > > > right, this is because of ball screws not being Left Handed?
> > > >
> > > > If all looks good, whats next? Ready to Config Mach3 now?
> > > > Thanks,
> > > > Troy
> > > >
> > >
> >
>
|
|
Group: DynoMotion |
Message: 1103 |
From: Tom Kerekes |
Date: 5/6/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Hi Troy,
Strange. You didn't explicitly state that the printed message in the console showed 10100. What are the axis screen values showing? What does the Encoder DRO show?
Please add the 2 diagnostic print statements below into the NotifyZeroEncoderMach3Diag.c and report what is printed on the Console when you push the Zero X button.
Thanks
TK
if (msg==10100) { // adjust the commanded position to match the glass scale encoder DisableAxis(X); printf("Before: Pos=%f Dest=%f\n",chan[X].Position,chan[X].Dest); EnableAxisDest(X,chan[X].Position); printf("After: Pos=%f Dest=%f\n",chan[X].Position,chan[X].Dest); }
Group: DynoMotion |
Message: 1104 |
From: tmday7 |
Date: 5/6/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Sorry didnt pay attention to printout. Here is printout with the 2 diagnostic print statements added.
The first 2 are without moving encoder and hitting the Reset button in Mach, and last one i moved Encoder only and not command.
Mach3 Notify Call, Message = 10100
Before: Pos=310.039798 Dest=310.039798
After: Pos=310.039798 Dest=310.039798
Following Error Disabled Axis:0
Feed Hold on
Simulated EStop off
Z Enabled
Simulated Manual Mode off
Pulse Estop
Mach3 Notify Call, Message = 10100
Before: Pos=-1054.135313 Dest=-1054.135313
After: Pos=-1054.135313 Dest=-1054.135313
Following Error Disabled Axis:0
Feed Hold on
Simulated EStop off
Z Enabled
Simulated Manual Mode off
Pulse Estop
Mach3 Notify Call, Message = 10100
Before: Pos=-912.402834 Dest=-1116.143273
After: Pos=-912.402834 Dest=-912.402834
Thanks,
Troy
--- Tom Kerekes wrote:
>
> Hi Troy,
>
> Strange. You didn't explicitly state that the printed message in the console
> showed 10100. What are the axis screen values showing? What does the Encoder
> DRO show?
>
> Please add the 2 diagnostic print statements below into the
> NotifyZeroEncoderMach3Diag.c and report what is printed on the Console when you
> push the Zero X button.
>
> Thanks
> TK
>
> Â if (msg==10100)
> Â {
> Â Â Â Â // adjust the commanded position to match the glass scale encoder
> Â Â Â Â DisableAxis(X);
> Â Â Â Â printf("Before: Pos=%f Dest=%f\n",chan[X].Position,chan[X].Dest);
> Â Â Â Â EnableAxisDest(X,chan[X].Position);
> Â Â Â Â printf("After: Pos=%f Dest=%f\n",chan[X].Position,chan[X].Dest);
> Â }
>
>
>
>
>
> ________________________________
> From: tmday7 <tmday@...>
> To: DynoMotion@yahoogroups.com
> Sent: Fri, May 6, 2011 1:23:33 PM
> Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
>
> Â
> Pressing Zero button in Mach does not change anything in Kmotion. If i click the
> Reset in Mach then the Command and Encoder in Kmotion match each other.
>
> "Then Mach3 computes a new Work Offset such to make the Commanded DROs (not the
> Encoder DROs) read Zero.Is this happening?"
> Yes thats whats happening, the Command Position Zeros but not the Encoder
> Reading.
>
> "....set to the same value as your Motor Tuning Resolution "Steps Per" which in
> your case is 15000.Do you have this set properly?
> Yup, both set to 15000
>
> As for dithering(or overshooting) i got that adjusted out with the I and
> Deadband Setting.All is good there now.
>
> Troy
>
> --- Tom Kerekes wrote:
> >
> > Hi Troy,
> >
> > Regarding the Zero Button: what should happen is that the Commanded Dest in
> > KFLOP should change to exactly match the Currently Measured Glass Scale
> > Position.ÃÂ Verify this is actually happening on the KFLOP Axis Screen.
> >
> > Then Mach3 computes a new Work Offset such to make the Commanded DROs (not the
>
> > Encoder DROs) read Zero.ÃÂ Is this happening?
> >
> > In Mach3 Ports & Pins - Encoder/MPG - the Encoder Resolution counts/unit should
> >
> > be set to the same value as your Motor Tuning Resolution "Steps Per" which in
> > your case is 15000.ÃÂ Do you have this set properly?
> >
> > Regards
> > TK
> >
> >
> >
> >
> > ________________________________
> > From: tmday7 <tmday@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Thu, May 5, 2011 5:37:26 PM
> > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> >
> > ÃÂ
> > 1) Yes it prints out.
> > MachPlugin is set to Thread4 Variable6. But Encoder DRO in Mach3 still doesnt
> > zero.
> >
> > 2)When Step 15 with Kmotion i dont see dithering or overshooting.After this i
> > adjusted the deadband a little higher and it made it better.
> >
> > I probally just need to keep adjusting PID and deadband till i find a good
> > "middle of the road" config?
> >
> > 3)Tried both Input Gain and OutputGain at minus, but it kept faulting out. Then
> >
> > i made OutputGain minus and InputGain plus.Now Zaxis moves in right direction.
> >
> > Thanks,
> > Troy
> > --- Tom Kerekes wrote:
> > >
> > > Hi Troy,
> > >
> > > Regarding:
> > >
> > > #1 - Check the KMotion Console.ÃâàWhen you push the Zero X button is the
> > >Message
> > >
> > > 10100 printed?ÃâàAlso check that the Dynomotion Plugin Configuratio is set
> >to
> >
> > > pass Code in Variable 6 like the C program expects,
> > >
> > > #2 - Still not sure what you mean here.ÃâàIt may be if your mechanics have
> >1
> >
> > >mil
> > >
> > > of backlash it may be difficult to hold position without the motor dithering
>
> > > back and forth 1 mil.ÃâàMake a move size of 1 mil (15 microsteps) on the
> >Step
> >
> > > Response Screen.ÃâàCan you see the "dither" there in either the commanded
> > > microsteps or the measured table position?
> > >
> > > #3 To reverse the direction of a closed loop servo reverse the sign of both
> >the
> >
> > >
> > > OutputGain and InputGain0 parameters.
> > >
> > > Regards
> > > TK
> > >
> > >
> > >
> > >
> > > ________________________________
> > > From: tmday7 <tmday@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Thu, May 5, 2011 8:19:35 AM
> > > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> > >
> > > ÃâÃÂ
> > > Forgot to mention, iam using the NotifyZeroEncoderMach3 C program.
> > >
> > > --- "tmday7" wrote:
> > > >
> > > > Ok. Got init program working with a couple issues. I copied the Mach CL
> >PMDX
> >
> >
> > > >and inserted my own motor configs.
> > > >
> > > > http://tech.groups.yahoo.com/group/DynoMotion/files/KFLOP%20MillDrill/
> > > >
> > > > 1) When i hit the Zero button in Mach, the Encoder DRO does not zero until
> >i
> >
> > >go
> > >
> > > >to Kmotion and hit the zero button there. The VB is correct in the Mach3
> >Zero
> >
> >
> > > >button.
> > > >
> > > > 2) When i do a .001" incremental step move the axis appears to be
> > > >overshooting.(dithering)
> > > >
> > > > 3) My Z axis needs to be reversed. When i jog in + direction axis actually
>
> > > >moves in minus direction.
> > > >
> > > > Thanks,
> > > > Troy
> > > >
|
|
Group: DynoMotion |
Message: 1105 |
From: tmday7 |
Date: 5/6/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
(EDITED FROM PREVIOUS POST)
Sorry didnt pay attention to printout. Here is printout with the 2 diagnostic print statements added.
The first 2 I moved axis manualy,(turned screw by hand) which caused Mach to go into Reset, then i clicked Reset in Mach followed by Zero button in Mach.
And the last one i manually moved Encoder again, except not enough to throw Mach into Reset this time.Then clicked the Zero Button in Mach
> Mach3 Notify Call, Message = 10100
> Before: Pos=310.039798 Dest=310.039798
> After: Pos=310.039798 Dest=310.039798
> Following Error Disabled Axis:0
> Feed Hold on
> Simulated EStop off
> Z Enabled
> Simulated Manual Mode off
> Pulse Estop
>
> Mach3 Notify Call, Message = 10100
> Before: Pos=-1054.135313 Dest=-1054.135313
> After: Pos=-1054.135313 Dest=-1054.135313
> Following Error Disabled Axis:0
> Feed Hold on
> Simulated EStop off
> Z Enabled
> Simulated Manual Mode off
> Pulse Estop
>
> Mach3 Notify Call, Message = 10100
> Before: Pos=-912.402834 Dest=-1116.143273
> After: Pos=-912.402834 Dest=-912.402834
>
>
> Thanks,
> Troy
>
>
>
>
> --- Tom Kerekes wrote:
> >
> > Hi Troy,
> >
> > Strange. You didn't explicitly state that the printed message in the console
> > showed 10100. What are the axis screen values showing? What does the Encoder
> > DRO show?
> >
> > Please add the 2 diagnostic print statements below into the
> > NotifyZeroEncoderMach3Diag.c and report what is printed on the Console when you
> > push the Zero X button.
> >
> > Thanks
> > TK
> >
> > Â if (msg==10100)
> > Â {
> > Â Â Â Â // adjust the commanded position to match the glass scale encoder
> > Â Â Â Â DisableAxis(X);
> > Â Â Â Â printf("Before: Pos=%f Dest=%f\n",chan[X].Position,chan[X].Dest);
> > Â Â Â Â EnableAxisDest(X,chan[X].Position);
> > Â Â Â Â printf("After: Pos=%f Dest=%f\n",chan[X].Position,chan[X].Dest);
> > Â }
> >
> >
> >
> >
> >
> > ________________________________
> > From: tmday7 <tmday@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Fri, May 6, 2011 1:23:33 PM
> > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> >
> > Â
> > Pressing Zero button in Mach does not change anything in Kmotion. If i click the
> > Reset in Mach then the Command and Encoder in Kmotion match each other.
> >
> > "Then Mach3 computes a new Work Offset such to make the Commanded DROs (not the
> > Encoder DROs) read Zero.Is this happening?"
> > Yes thats whats happening, the Command Position Zeros but not the Encoder
> > Reading.
> >
> > "....set to the same value as your Motor Tuning Resolution "Steps Per" which in
> > your case is 15000.Do you have this set properly?
> > Yup, both set to 15000
> >
> > As for dithering(or overshooting) i got that adjusted out with the I and
> > Deadband Setting.All is good there now.
> >
> > Troy
> >
> > --- Tom Kerekes wrote:
> > >
> > > Hi Troy,
> > >
> > > Regarding the Zero Button: what should happen is that the Commanded Dest in
> > > KFLOP should change to exactly match the Currently Measured Glass Scale
> > > Position.ÃÂ Verify this is actually happening on the KFLOP Axis Screen.
> > >
> > > Then Mach3 computes a new Work Offset such to make the Commanded DROs (not the
> >
> > > Encoder DROs) read Zero.ÃÂ Is this happening?
> > >
> > > In Mach3 Ports & Pins - Encoder/MPG - the Encoder Resolution counts/unit should
> > >
> > > be set to the same value as your Motor Tuning Resolution "Steps Per" which in
> > > your case is 15000.ÃÂ Do you have this set properly?
> > >
> > > Regards
> > > TK
> > >
> > >
> > >
> > >
> > > ________________________________
> > > From: tmday7 <tmday@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Thu, May 5, 2011 5:37:26 PM
> > > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> > >
> > > ÃÂ
> > > 1) Yes it prints out.
> > > MachPlugin is set to Thread4 Variable6. But Encoder DRO in Mach3 still doesnt
> > > zero.
> > >
> > > 2)When Step 15 with Kmotion i dont see dithering or overshooting.After this i
> > > adjusted the deadband a little higher and it made it better.
> > >
> > > I probally just need to keep adjusting PID and deadband till i find a good
> > > "middle of the road" config?
> > >
> > > 3)Tried both Input Gain and OutputGain at minus, but it kept faulting out. Then
> > >
> > > i made OutputGain minus and InputGain plus.Now Zaxis moves in right direction.
> > >
> > > Thanks,
> > > Troy
> > > --- Tom Kerekes wrote:
> > > >
> > > > Hi Troy,
> > > >
> > > > Regarding:
> > > >
> > > > #1 - Check the KMotion Console.ÃâàWhen you push the Zero X button is the
> > > >Message
> > > >
> > > > 10100 printed?ÃâàAlso check that the Dynomotion Plugin Configuratio is set
> > >to
> > >
> > > > pass Code in Variable 6 like the C program expects,
> > > >
> > > > #2 - Still not sure what you mean here.ÃâàIt may be if your mechanics have
> > >1
> > >
> > > >mil
> > > >
> > > > of backlash it may be difficult to hold position without the motor dithering
> >
> > > > back and forth 1 mil.ÃâàMake a move size of 1 mil (15 microsteps) on the
> > >Step
> > >
> > > > Response Screen.ÃâàCan you see the "dither" there in either the commanded
> > > > microsteps or the measured table position?
> > > >
> > > > #3 To reverse the direction of a closed loop servo reverse the sign of both
> > >the
> > >
> > > >
> > > > OutputGain and InputGain0 parameters.
> > > >
> > > > Regards
> > > > TK
> > > >
> > > >
> > > >
> > > >
> > > > ________________________________
> > > > From: tmday7 <tmday@>
> > > > To: DynoMotion@yahoogroups.com
> > > > Sent: Thu, May 5, 2011 8:19:35 AM
> > > > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> > > >
> > > > ÃâÃÂ
> > > > Forgot to mention, iam using the NotifyZeroEncoderMach3 C program.
> > > >
> > > > --- "tmday7" wrote:
> > > > >
> > > > > Ok. Got init program working with a couple issues. I copied the Mach CL
> > >PMDX
> > >
> > >
> > > > >and inserted my own motor configs.
> > > > >
> > > > > http://tech.groups.yahoo.com/group/DynoMotion/files/KFLOP%20MillDrill/
> > > > >
> > > > > 1) When i hit the Zero button in Mach, the Encoder DRO does not zero until
> > >i
> > >
> > > >go
> > > >
> > > > >to Kmotion and hit the zero button there. The VB is correct in the Mach3
> > >Zero
> > >
> > >
> > > > >button.
> > > > >
> > > > > 2) When i do a .001" incremental step move the axis appears to be
> > > > >overshooting.(dithering)
> > > > >
> > > > > 3) My Z axis needs to be reversed. When i jog in + direction axis actually
> >
> > > > >moves in minus direction.
> > > > >
> > > > > Thanks,
> > > > > Troy
> > > > >
>
|
|
Group: DynoMotion |
Message: 1106 |
From: Tom Kerekes |
Date: 5/6/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Strange it seems to be working. The Dest is changed to match the Position (-912.402834). But I assume the Mach3 Encoder DRO still is not Zero? Your X axis is axis channel 0 correct?
You didn't answer my other questions. I'll repeat:
What are the axis screen values showing? What does the Encoder DRO show? What does the Command DRO show?
TK
Group: DynoMotion |
Message: 1107 |
From: tmday7 |
Date: 5/6/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Yes X axis is 0. Correct Mach3 DRO does not change at all, the only time Mach encoder DRO changes is when i click the Zero button in Kmotion.
"What are the axis screen values showing? What does the Encoder DRO show? What does the Command DRO show?"
When i click Zero button in Mach the Command pos DRO in Mach zeros out as it should, but the encoder DRO in Mach does not change.
The Axis Screen values in Kmotion? They match one another just like the printout shows.
Before Zero button....Mach3 Command DRO -1.1955 Encoder -1.1951
Kmotion Command Dest -17926.43 Pos -17932.????
After Zero Button....Mach3 Command DRO 0.0000 Encoder -1.1951
Kmotion Command Dest -17932.???? Pos -17932.????
Printout
Before: Pos -17932.???? Dest: -17926.????
After : Pos -17932.???? Dest: -17932.????
I truncated after the . Sorry, running back and forth, machine is in another building about 200 feet away. :) No internet there yet.
Troy
--- Tom Kerekes wrote:
>
> Strange it seems to be working. The Dest is changed to match the Position
> (-912.402834). But I assume the Mach3 Encoder DRO still is not Zero? Your X
> axis is axis channel 0 correct?
>
> You didn't answer my other questions. I'll repeat:
>
> What are the axis screen values showing?  What does the Encoder DRO show? What
> does the Command DRO show?
>
> TK
>
>
>
>
> ________________________________
> From: tmday7 <tmday@...>
> To: DynoMotion@yahoogroups.com
> Sent: Fri, May 6, 2011 2:17:26 PM
> Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
>
> Â
> Sorry didnt pay attention to printout. Here is printout with the 2 diagnostic
> print statements added.
>
> The first 2 are without moving encoder and hitting the Reset button in Mach, and
> last one i moved Encoder only and not command.
>
> Mach3 Notify Call, Message = 10100
> Before: Pos=310.039798 Dest=310.039798
> After: Pos=310.039798 Dest=310.039798
> Following Error Disabled Axis:0
> Feed Hold on
> Simulated EStop off
> Z Enabled
> Simulated Manual Mode off
> Pulse Estop
>
> Mach3 Notify Call, Message = 10100
> Before: Pos=-1054.135313 Dest=-1054.135313
> After: Pos=-1054.135313 Dest=-1054.135313
> Following Error Disabled Axis:0
> Feed Hold on
> Simulated EStop off
> Z Enabled
> Simulated Manual Mode off
> Pulse Estop
>
> Mach3 Notify Call, Message = 10100
> Before: Pos=-912.402834 Dest=-1116.143273
> After: Pos=-912.402834 Dest=-912.402834
>
> Thanks,
> Troy
>
> --- Tom Kerekes wrote:
> >
> > Hi Troy,
> >
> > Strange.ÃÂ You didn't explicitly state that the printed message in the console
>
> > showed 10100.ÃÂ What are the axis screen values showing?ÃÂ What does the
> >Encoder
> >
> > DRO show?
> >
> > Please add the 2 diagnostic print statements below into the
> > NotifyZeroEncoderMach3Diag.c and report what is printed on the Console when you
> >
> > push the Zero X button.
> >
> > Thanks
> > TK
> >
> > ÃÂ if (msg==10100)
> > ÃÂ {
> > ÃÂ ÃÂ ÃÂ ÃÂ // adjust the commanded position to match the glass scale encoder
> > ÃÂ ÃÂ ÃÂ ÃÂ DisableAxis(X);
> > ÃÂ ÃÂ ÃÂ ÃÂ printf("Before: Pos=%f Dest=%f\n",chan[X].Position,chan[X].Dest);
> > ÃÂ ÃÂ ÃÂ ÃÂ EnableAxisDest(X,chan[X].Position);
> > ÃÂ ÃÂ ÃÂ ÃÂ printf("After: Pos=%f Dest=%f\n",chan[X].Position,chan[X].Dest);
> > ÃÂ }
> >
> >
> >
> >
> >
> > ________________________________
> > From: tmday7 <tmday@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Fri, May 6, 2011 1:23:33 PM
> > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> >
> > ÃÂ
> > Pressing Zero button in Mach does not change anything in Kmotion. If i click
> >the
> >
> > Reset in Mach then the Command and Encoder in Kmotion match each other.
> >
> > "Then Mach3 computes a new Work Offset such to make the Commanded DROs (not the
> >
> > Encoder DROs) read Zero.Is this happening?"
> > Yes thats whats happening, the Command Position Zeros but not the Encoder
> > Reading.
> >
> > "....set to the same value as your Motor Tuning Resolution "Steps Per" which in
> >
> > your case is 15000.Do you have this set properly?
> > Yup, both set to 15000
> >
> > As for dithering(or overshooting) i got that adjusted out with the I and
> > Deadband Setting.All is good there now.
> >
> > Troy
> >
> > --- Tom Kerekes wrote:
> > >
> > > Hi Troy,
> > >
> > > Regarding the Zero Button: what should happen is that the Commanded Dest in
> > > KFLOP should change to exactly match the Currently Measured Glass Scale
> > > Position.ÃâàVerify this is actually happening on the KFLOP Axis Screen.
> > >
> > > Then Mach3 computes a new Work Offset such to make the Commanded DROs (not
> >the
> >
> >
> > > Encoder DROs) read Zero.ÃâàIs this happening?
> > >
> > > In Mach3 Ports & Pins - Encoder/MPG - the Encoder Resolution counts/unit
> >should
> >
> > >
> > > be set to the same value as your Motor Tuning Resolution "Steps Per" which in
> >
> > > your case is 15000.ÃâàDo you have this set properly?
> > >
> > > Regards
> > > TK
> > >
> > >
> > >
> > >
> > > ________________________________
> > > From: tmday7 <tmday@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Thu, May 5, 2011 5:37:26 PM
> > > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> > >
> > > ÃâÃÂ
> > > 1) Yes it prints out.
> > > MachPlugin is set to Thread4 Variable6. But Encoder DRO in Mach3 still doesnt
> >
> > > zero.
> > >
> > > 2)When Step 15 with Kmotion i dont see dithering or overshooting.After this i
> >
> > > adjusted the deadband a little higher and it made it better.
> > >
> > > I probally just need to keep adjusting PID and deadband till i find a good
> > > "middle of the road" config?
> > >
> > > 3)Tried both Input Gain and OutputGain at minus, but it kept faulting out.
> >Then
> >
> > >
> > > i made OutputGain minus and InputGain plus.Now Zaxis moves in right
> >direction.
> > >
> > > Thanks,
> > > Troy
> > > --- Tom Kerekes wrote:
> > > >
> > > > Hi Troy,
> > > >
> > > > Regarding:
> > > >
> > > > #1 - Check the KMotion Console.ÃÆ'ââ¬Å¡ÃâàWhen you push the Zero X button is
> >the
> >
> > > >Message
> > > >
> > > > 10100 printed?ÃÆ'ââ¬Å¡ÃâàAlso check that the Dynomotion Plugin Configuratio
> >is set
> >
> > >to
> > >
> > > > pass Code in Variable 6 like the C program expects,
> > > >
> > > > #2 - Still not sure what you mean here.ÃÆ'ââ¬Å¡ÃâàIt may be if your
> >mechanics have
> >
> > >1
> > >
> > > >mil
> > > >
> > > > of backlash it may be difficult to hold position without the motor
> >dithering
> >
> >
> > > > back and forth 1 mil.ÃÆ'ââ¬Å¡ÃâàMake a move size of 1 mil (15 microsteps) on
> >the
> >
> > >Step
> > >
> > > > Response Screen.ÃÆ'ââ¬Å¡ÃâàCan you see the "dither" there in either the
> >commanded
> >
> > > > microsteps or the measured table position?
> > > >
> > > > #3 To reverse the direction of a closed loop servo reverse the sign of both
> >
> > >the
> > >
> > > >
> > > > OutputGain and InputGain0 parameters.
> > > >
> > > > Regards
> > > > TK
> > > >
> > > >
> > > >
> > > >
> > > > ________________________________
> > > > From: tmday7 <tmday@>
> > > > To: DynoMotion@yahoogroups.com
> > > > Sent: Thu, May 5, 2011 8:19:35 AM
> > > > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> > > >
> > > > ÃÆ'ââ¬Å¡ÃâÃÂ
> > > > Forgot to mention, iam using the NotifyZeroEncoderMach3 C program.
> > > >
> > > > --- "tmday7" wrote:
> > > > >
> > > > > Ok. Got init program working with a couple issues. I copied the Mach CL
> > >PMDX
> > >
> > >
> > > > >and inserted my own motor configs.
> > > > >
> > > > > http://tech.groups.yahoo.com/group/DynoMotion/files/KFLOP%20MillDrill/
> > > > >
> > > > > 1) When i hit the Zero button in Mach, the Encoder DRO does not zero
> >until
> >
> > >i
> > >
> > > >go
> > > >
> > > > >to Kmotion and hit the zero button there. The VB is correct in the Mach3
> > >Zero
> > >
> > >
> > > > >button.
> > > > >
> > > > > 2) When i do a .001" incremental step move the axis appears to be
> > > > >overshooting.(dithering)
> > > > >
> > > > > 3) My Z axis needs to be reversed. When i jog in + direction axis
> >actually
> >
> >
> > > > >moves in minus direction.
> > > > >
> > > > > Thanks,
> > > > > Troy
> > > > >
>
|
|
Group: DynoMotion |
Message: 1108 |
From: Tom Kerekes |
Date: 5/6/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Hi Troy,
I remember having this problem a while back, but don't remember how it was resolved.
I think the issue is your Mach3 Encoder DROs are displaying Machine Coordinates rather than Work Coordinates.
If in Mach3 you go to the offsets Screen and change the Current Work Offset X does both the Command DROs and Encoder DROs change by the amount of change?
I just tried it on my Mach3 Version 3.042.038 and both change. I'm also using the standard Mach3Mill Screens.
Regards
TK
Group: DynoMotion |
Message: 1109 |
From: tmday7 |
Date: 5/6/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Thats it :) Update to latest Mach3 lockdown fixed it. I was running 3.041
Now onto next :) when we did the TriOnics we could flip a manual switch and use machine mill manualy without throwing Mach into Reset, or did it put Mach into Reset? I dont remember.
I just tried it and while Mach is in Reset i could not zero any axis. BUT, i dont have my manual switch wired into Kflop, it just disables the Gecko drives.
Thanks again,
Troy
--- Tom Kerekes wrote:
>
> Hi Troy,
>
> I remember having this problem a while back, but don't remember how it was
> resolved.
>
> I think the issue is your Mach3 Encoder DROs are displaying Machine Coordinates
> rather than Work Coordinates.
>
> If in Mach3 you go to the offsets Screen and change the Current Work Offset X
> does both the Command DROs and Encoder DROs change by the amount of change?
>
> I just tried it on my Mach3 Version 3.042.038 and both change. I'm also using
> the standard Mach3Mill Screens.
>
> Regards
> TK
>
>
> Â
>
>
>
> ________________________________
> From: tmday7 <tmday@...>
> To: DynoMotion@yahoogroups.com
> Sent: Fri, May 6, 2011 3:05:58 PM
> Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
>
> Â
> Yes X axis is 0. Correct Mach3 DRO does not change at all, the only time Mach
> encoder DRO changes is when i click the Zero button in Kmotion.
>
> "What are the axis screen values showing? What does the Encoder DRO show? What
> does the Command DRO show?"
>
> When i click Zero button in Mach the Command pos DRO in Mach zeros out as it
> should, but the encoder DRO in Mach does not change.
>
> The Axis Screen values in Kmotion? They match one another just like the printout
> shows.
>
> Before Zero button....Mach3 Command DRO -1.1955 Encoder -1.1951
> Kmotion Command Dest -17926.43 Pos -17932.????
>
> After Zero Button....Mach3 Command DRO 0.0000 Encoder -1.1951
> Kmotion Command Dest -17932.???? Pos -17932.????
>
> Printout
> Before: Pos -17932.???? Dest: -17926.????
> After : Pos -17932.???? Dest: -17932.????
>
> I truncated after the . Sorry, running back and forth, machine is in another
> building about 200 feet away. :) No internet there yet.
>
> Troy
>
> --- Tom Kerekes wrote:
> >
> > Strange it seems to be working.ÃÂ The Dest is changed to match the Position
> > (-912.402834).ÃÂ But I assume the Mach3 Encoder DRO still is not Zero?ÃÂ Your X
> >
> > axis is axis channel 0 correct?
> >
> > You didn't answer my other questions.ÃÂ I'll repeat:
> >
> > What are the axis screen values showing? ÃÂ What does the EncoderÃÂ DRO show?ÃÂ
> >What
> >
> > does the Command DRO show?
> >
> > TK
> >
> >
> >
> >
> > ________________________________
> > From: tmday7 <tmday@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Fri, May 6, 2011 2:17:26 PM
> > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> >
> > ÃÂ
> > Sorry didnt pay attention to printout. Here is printout with the 2 diagnostic
> > print statements added.
> >
> > The first 2 are without moving encoder and hitting the Reset button in Mach,
> >and
> >
> > last one i moved Encoder only and not command.
> >
> > Mach3 Notify Call, Message = 10100
> > Before: Pos=310.039798 Dest=310.039798
> > After: Pos=310.039798 Dest=310.039798
> > Following Error Disabled Axis:0
> > Feed Hold on
> > Simulated EStop off
> > Z Enabled
> > Simulated Manual Mode off
> > Pulse Estop
> >
> > Mach3 Notify Call, Message = 10100
> > Before: Pos=-1054.135313 Dest=-1054.135313
> > After: Pos=-1054.135313 Dest=-1054.135313
> > Following Error Disabled Axis:0
> > Feed Hold on
> > Simulated EStop off
> > Z Enabled
> > Simulated Manual Mode off
> > Pulse Estop
> >
> > Mach3 Notify Call, Message = 10100
> > Before: Pos=-912.402834 Dest=-1116.143273
> > After: Pos=-912.402834 Dest=-912.402834
> >
> > Thanks,
> > Troy
> >
> > --- Tom Kerekes wrote:
> > >
> > > Hi Troy,
> > >
> > > Strange.ÃâàYou didn't explicitly state that the printed message in the
> >console
> >
> >
> > > showed 10100.ÃâàWhat are the axis screen values showing?ÃâàWhat does the
>
> > >Encoder
> > >
> > > DRO show?
> > >
> > > Please add the 2 diagnostic print statements below into the
> > > NotifyZeroEncoderMach3Diag.c and report what is printed on the Console when
> >you
> >
> > >
> > > push the Zero X button.
> > >
> > > Thanks
> > > TK
> > >
> > > Ãâàif (msg==10100)
> > > Ãâà{
> > > ÃâàÃâàÃâàÃâà// adjust the commanded position to match the glass scale
> >encoder
> > > ÃâàÃâàÃâàÃâàDisableAxis(X);
> > > ÃâàÃâàÃâàÃâàprintf("Before: Pos=%f
> >Dest=%f\n",chan[X].Position,chan[X].Dest);
> > > ÃâàÃâàÃâàÃâàEnableAxisDest(X,chan[X].Position);
> > > ÃâàÃâàÃâàÃâàprintf("After: Pos=%f
> >Dest=%f\n",chan[X].Position,chan[X].Dest);
> > > Ãâà}
> > >
> > >
> > >
> > >
> > >
> > > ________________________________
> > > From: tmday7 <tmday@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Fri, May 6, 2011 1:23:33 PM
> > > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> > >
> > > ÃâÃÂ
> > > Pressing Zero button in Mach does not change anything in Kmotion. If i click
>
> > >the
> > >
> > > Reset in Mach then the Command and Encoder in Kmotion match each other.
> > >
> > > "Then Mach3 computes a new Work Offset such to make the Commanded DROs (not
> >the
> >
> > >
> > > Encoder DROs) read Zero.Is this happening?"
> > > Yes thats whats happening, the Command Position Zeros but not the Encoder
> > > Reading.
> > >
> > > "....set to the same value as your Motor Tuning Resolution "Steps Per" which
> >in
> >
> > >
> > > your case is 15000.Do you have this set properly?
> > > Yup, both set to 15000
> > >
> > > As for dithering(or overshooting) i got that adjusted out with the I and
> > > Deadband Setting.All is good there now.
> > >
> > > Troy
> > >
> > > --- Tom Kerekes wrote:
> > > >
> > > > Hi Troy,
> > > >
> > > > Regarding the Zero Button: what should happen is that the Commanded Dest in
> >
> > > > KFLOP should change to exactly match the Currently Measured Glass Scale
> > > > Position.ÃÆ'ââ¬Å¡ÃâàVerify this is actually happening on the KFLOP Axis
> >Screen.
> > > >
> > > > Then Mach3 computes a new Work Offset such to make the Commanded DROs (not
>
> > >the
> > >
> > >
> > > > Encoder DROs) read Zero.ÃÆ'ââ¬Å¡ÃâàIs this happening?
> > > >
> > > > In Mach3 Ports & Pins - Encoder/MPG - the Encoder Resolution counts/unit
> > >should
> > >
> > > >
> > > > be set to the same value as your Motor Tuning Resolution "Steps Per" which
> >in
> >
> > >
> > > > your case is 15000.ÃÆ'ââ¬Å¡ÃâàDo you have this set properly?
> > > >
> > > > Regards
> > > > TK
> > > >
> > > >
> > > >
> > > >
> > > > ________________________________
> > > > From: tmday7 <tmday@>
> > > > To: DynoMotion@yahoogroups.com
> > > > Sent: Thu, May 5, 2011 5:37:26 PM
> > > > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> > > >
> > > > ÃÆ'ââ¬Å¡ÃâÃÂ
> > > > 1) Yes it prints out.
> > > > MachPlugin is set to Thread4 Variable6. But Encoder DRO in Mach3 still
> >doesnt
> >
> > >
> > > > zero.
> > > >
> > > > 2)When Step 15 with Kmotion i dont see dithering or overshooting.After this
> >i
> >
> > >
> > > > adjusted the deadband a little higher and it made it better.
> > > >
> > > > I probally just need to keep adjusting PID and deadband till i find a good
>
> > > > "middle of the road" config?
> > > >
> > > > 3)Tried both Input Gain and OutputGain at minus, but it kept faulting out.
>
> > >Then
> > >
> > > >
> > > > i made OutputGain minus and InputGain plus.Now Zaxis moves in right
> > >direction.
> > > >
> > > > Thanks,
> > > > Troy
> > > > --- Tom Kerekes wrote:
> > > > >
> > > > > Hi Troy,
> > > > >
> > > > > Regarding:
> > > > >
> > > > > #1 - Check the KMotion Console.ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡ÃâàWhen you push the
> >Zero X button is
> >
> > >the
> > >
> > > > >Message
> > > > >
> > > > > 10100 printed?ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡ÃâàAlso check that the Dynomotion Plugin
> >Configuratio
> >
> > >is set
> > >
> > > >to
> > > >
> > > > > pass Code in Variable 6 like the C program expects,
> > > > >
> > > > > #2 - Still not sure what you mean here.ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡ÃâàIt may be if
> >your
> >
> > >mechanics have
> > >
> > > >1
> > > >
> > > > >mil
> > > > >
> > > > > of backlash it may be difficult to hold position without the motor
> > >dithering
> > >
> > >
> > > > > back and forth 1 mil.ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡ÃâàMake a move size of 1 mil (15
> >microsteps) on
> >
> > >the
> > >
> > > >Step
> > > >
> > > > > Response Screen.ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡ÃâàCan you see the "dither" there in
> >either the
> >
> > >commanded
> > >
> > > > > microsteps or the measured table position?
> > > > >
> > > > > #3 To reverse the direction of a closed loop servo reverse the sign of
> >both
> >
> > >
> > > >the
> > > >
> > > > >
> > > > > OutputGain and InputGain0 parameters.
> > > > >
> > > > > Regards
> > > > > TK
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > ________________________________
> > > > > From: tmday7 <tmday@>
> > > > > To: DynoMotion@yahoogroups.com
> > > > > Sent: Thu, May 5, 2011 8:19:35 AM
> > > > > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> > > > >
> > > > > ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡ÃâÃÂ
> > > > > Forgot to mention, iam using the NotifyZeroEncoderMach3 C program.
> > > > >
> > > > > --- "tmday7" wrote:
> > > > > >
> > > > > > Ok. Got init program working with a couple issues. I copied the Mach CL
> >
> > > >PMDX
> > > >
> > > >
> > > > > >and inserted my own motor configs.
> > > > > >
> > > > > > http://tech.groups.yahoo.com/group/DynoMotion/files/KFLOP%20MillDrill/
> > > > > >
> > > > > > 1) When i hit the Zero button in Mach, the Encoder DRO does not zero
> > >until
> > >
> > > >i
> > > >
> > > > >go
> > > > >
> > > > > >to Kmotion and hit the zero button there. The VB is correct in the Mach3
> >
> > > >Zero
> > > >
> > > >
> > > > > >button.
> > > > > >
> > > > > > 2) When i do a .001" incremental step move the axis appears to be
> > > > > >overshooting.(dithering)
> > > > > >
> > > > > > 3) My Z axis needs to be reversed. When i jog in + direction axis
> > >actually
> > >
> > >
> > > > > >moves in minus direction.
> > > > > >
> > > > > > Thanks,
> > > > > > Troy
> > > > > >
> >
>
|
|
Group: DynoMotion |
Message: 1110 |
From: Tom Kerekes |
Date: 5/7/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Hi Troy,
Yes you will need to wire in the Auto/Manual switch that the Mach3_CL_PMDX.c program is expecting to switch from Closed Loop to Open Loop and so forth.
I think Mach3 should NOT be in reset while in Manual mode. I think the trick was that a Simulated EStop Bit (KFLOP IO46 - one of the LEDS) was created that Mach3 was configured to monitor rather than the Raw Estop signal coming from the PMDX.
Regards,
TK
Group: DynoMotion |
Message: 1111 |
From: tmday7 |
Date: 5/7/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Ok. I remember that now.
Ill let you know.
Thanks,
Troy
---Tom Kerekes wrote:
>
> Hi Troy,
>
> Yes you will need to wire in the Auto/Manual switch that the Mach3_CL_PMDX.c
> program is expecting to switch from Closed Loop to Open Loop and so forth.
>
> I think Mach3 should NOT be in reset while in Manual mode. I think the trick
> was that a Simulated EStop Bit (KFLOP IO46 - one of the LEDS) was created that
> Mach3 was configured to monitor rather than the Raw Estop signal coming from the
> PMDX.Â
>
>
> Regards,
> TK
>
>
>
>
> ________________________________
> From: tmday7
>
> Â
> Thats it :) Update to latest Mach3 lockdown fixed it. I was running 3.041
>
> Now onto next :) when we did the TriOnics we could flip a manual switch and use
> machine mill manualy without throwing Mach into Reset, or did it put Mach into
> Reset? I dont remember.
>
> I just tried it and while Mach is in Reset i could not zero any axis. BUT, i
> dont have my manual switch wired into Kflop, it just disables the Gecko drives.
>
> Thanks again,
> Troy
>
> --- Tom Kerekes wrote:
> >
> > Hi Troy,
> >
> > I remember having this problem a while back, but don't remember how it was
> > resolved.
> >
> > I think the issue is your Mach3 Encoder DROs are displaying Machine Coordinates
> >
> > rather than Work Coordinates.
> >
> > If in Mach3 you go to the offsets Screen and change the Current Work Offset X
> > does both the Command DROs and Encoder DROs change by the amount of change?
> >
> > I just tried it on my Mach3 Version 3.042.038 and both change.ÃÂ I'm also using
> >
> > the standard Mach3Mill Screens.
> >
> > Regards
> > TK
> >
> >
> > ÃÂ
> >
> >
> >
|
|
Group: DynoMotion |
Message: 1112 |
From: tmday7 |
Date: 5/7/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
For temporary, can a VB button in Mach be made to do this?
Thanks,
Troy
--- "tmday7"wrote:
>
> Ok. I remember that now.
> Ill let you know.
> Thanks,
> Troy
>
> ---Tom Kerekes wrote:
> >
> > Hi Troy,
> >
> > Yes you will need to wire in the Auto/Manual switch that the Mach3_CL_PMDX.c
> > program is expecting to switch from Closed Loop to Open Loop and so forth.
> >
> > I think Mach3 should NOT be in reset while in Manual mode. I think the trick
> > was that a Simulated EStop Bit (KFLOP IO46 - one of the LEDS) was created that
> > Mach3 was configured to monitor rather than the Raw Estop signal coming from the
> > PMDX.Â
> >
> >
> > Regards,
> > TK
> >
> >
> >
> >
> > ________________________________
> > From: tmday7
> >
> > Â
> > Thats it :) Update to latest Mach3 lockdown fixed it. I was running 3.041
> >
> > Now onto next :) when we did the TriOnics we could flip a manual switch and use
> > machine mill manualy without throwing Mach into Reset, or did it put Mach into
> > Reset? I dont remember.
> >
> > I just tried it and while Mach is in Reset i could not zero any axis. BUT, i
> > dont have my manual switch wired into Kflop, it just disables the Gecko drives.
> >
> > Thanks again,
> > Troy
> >
> > --- Tom Kerekes wrote:
> > >
> > > Hi Troy,
> > >
> > > I remember having this problem a while back, but don't remember how it was
> > > resolved.
> > >
> > > I think the issue is your Mach3 Encoder DROs are displaying Machine Coordinates
> > >
> > > rather than Work Coordinates.
> > >
> > > If in Mach3 you go to the offsets Screen and change the Current Work Offset X
> > > does both the Command DROs and Encoder DROs change by the amount of change?
> > >
> > > I just tried it on my Mach3 Version 3.042.038 and both change.ÃÂ I'm also using
> > >
> > > the standard Mach3Mill Screens.
> > >
> > > Regards
> > > TK
> > >
> > >
> > > ÃÂ
> > >
> > >
> > >
>
|
|
Group: DynoMotion |
Message: 1113 |
From: Tom Kerekes |
Date: 5/7/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Yes. Configure a Mach3 button to Toggle a KFLOP Output. You could use IO47 which is the other KFLOP LED.
TK
Group: DynoMotion |
Message: 1114 |
From: tmday7 |
Date: 5/7/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Youll have to fill me in, would i configure a button to toggle an output in Mach? Kinda like the Flood Coolant button. Or is there VB to directly toggle the bit? Drawin a blank here as how to what scripting needs to happen.
Thanks,
Troy
---Tom Kerekes wrote:
>
> Yes.Configure a Mach3 button to Toggle a KFLOP Output. You could use IO47
> which is the other KFLOP LED.
>
> TK
>
>
>
> ________________________________
> From: tmday7
>
> Â
> For temporary, can a VB button in Mach be made to do this?
>
> Thanks,
> Troy
>
> --- "tmday7"wrote:
> >
> > Ok. I remember that now.
> > Ill let you know.
> > Thanks,
> > Troy
> >
> > ---Tom Kerekes wrote:
> > >
> > > Hi Troy,
> > >
> > > Yes you will need to wire in the Auto/Manual switch that the Mach3_CL_PMDX.c
>
> > > program is expecting to switch from Closed Loop to Open Loop and so forth.
> > >
> > > I think Mach3 shouldÃÂ NOT be in reset while in Manual mode.ÃÂ I think the
> >trick
> >
> > > was that a Simulated EStop Bit (KFLOP IO46 - one of the LEDS) was created
> >that
> >
> > > Mach3 was configured to monitor rather than the Raw EstopÃÂ signal coming from
> >the
> >
> > > PMDX.ÃÂ
> > >
> > >
> > > Regards,
> > > TK
> > >
> > >
> > >
> > >
> > > ________________________________
> > > From: tmday7
> > >
> > > ÃÂ
> > > Thats it :) Update to latest Mach3 lockdown fixed it. I was running 3.041
> > >
> > > Now onto next :) when we did the TriOnics we could flip a manual switch and
> >use
> >
> > > machine mill manualy without throwing Mach into Reset, or did it put Mach
> >into
> >
> > > Reset? I dont remember.
> > >
> > > I just tried it and while Mach is in Reset i could not zero any axis. BUT, i
>
> > > dont have my manual switch wired into Kflop, it just disables the Gecko
> >drives.
> > >
> > > Thanks again,
> > > Troy
> > >
> > > --- Tom Kerekes wrote:
> > > >
> > > > Hi Troy,
> > > >
> > > > I remember having this problem a while back, but don't remember how it was
>
> > > > resolved.
> > > >
> > > > I think the issue is your Mach3 Encoder DROs are displaying Machine
> >Coordinates
> >
> > > >
> > > > rather than Work Coordinates.
> > > >
> > > > If in Mach3 you go to the offsets Screen and change the Current Work Offset
> >X
> >
> > > > does both the Command DROs and Encoder DROs change by the amount of
> change?
> > > >
> > > > I just tried it on my Mach3 Version 3.042.038 and both change.ÃâàI'm also
> >using
> >
> > > >
> > > > the standard Mach3Mill Screens.
> > > >
> > > > Regards
> > > > TK
> > > >
> > > >
> > > > ÃâÃÂ
> > > >
> > > >
> > > >
> >
>
|
|
Group: DynoMotion |
Message: 1115 |
From: tmday7 |
Date: 5/8/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
posted by:Michael
Hello tmday7
I have been following your thread in the Dynomotion group using the Kflop. Could you elaborate on what you have built. I have had similar ideas of building a bench mill however it appears as though you are using a Bridgeport type head is that correct?
Would you have more photos of the column and the method of attaching the head to the column?
Whose table, saddle and base are you using?
Did you buy a complete mill drill and remove the column and head and build your own?
Thanks
Michael
>>>>>>
I uploaded some more pics of mill.
http://groups.yahoo.com/group/DynoMotion/photos/album/176979248/pic/list
Ya, its a Bridgeport Head bolted to a 3/4in plate, which is bolted to 2 I-Beams.The head can be rotated about 20degrees.
I used the original column mounting holes in the RongFu type base, except i bolted column from underneath.
The base,saddle and table came from ebay, as did some other parts also.
I still need to do a few other things to it, one being a counter weight for head.Theres a little more weight than i like overhanging the rails and Z screw.
Please keep in mind, this is a work in progress:) Hints some surface rust and holes in head;), etc. Its been in storage for about a year also. I like to get everything in sound working order THEN paint. Its a pain for me to have to Machine on a painted part. :)
HTH
Troy
|
|
Group: DynoMotion |
Message: 1116 |
From: tmday7 |
Date: 5/9/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Scratch the VB button, i took the time and got my control panel to the point where i will add my switches and buttons as i need them.:)
Ill let you know when i get Manual Mode switch up and going.
Got a couple more issues.....
1) The Reference Buttons for each axis in Mach do not Referance the axis. The only machine Referance that happens is when Mach is first started, and where ever machine axis is setting at startup of Mach, is where its Referance or Home position is.
2) The Softlimits i have set in Mach are not working. Is this sumthin that needs to be set in the C Program?
Thanks,
Troy
--- "tmday7" wrote:
>
> Youll have to fill me in, would i configure a button to toggle an output in Mach? Kinda like the Flood Coolant button. Or is there VB to directly toggle the bit? Drawin a blank here as how to what scripting needs to happen.
> Thanks,
> Troy
>
> ---Tom Kerekes wrote:
> >
> > Yes.Configure a Mach3 button to Toggle a KFLOP Output. You could use IO47
> > which is the other KFLOP LED.
> >
> > TK
> >
> >
> >
> > ________________________________
> > From: tmday7
> >
> > Â
> > For temporary, can a VB button in Mach be made to do this?
> >
> > Thanks,
> > Troy
> >
> > --- "tmday7"wrote:
> >
> > Ok. I remember that now.
> > Ill let you know.
> > Thanks,
> > Troy
> >
> > ---Tom Kerekes wrote:
> >
> >Hi Troy,
Yes you will need to wire in the Auto/Manual switch that the Mach3_CL_PMDX.c program is expecting to switch from Closed Loop to Open Loop and so forth.I think Mach3 shouldÃÂ NOT be in reset while in Manual mode.I think the trick was that a Simulated EStop Bit (KFLOP IO46 - one of the LEDS) was created that Mach3 was configured to monitor rather than the Raw Estop,signal coming from the PMDX.
> > > >
> > > >
> > > > Regards,
> > > > TK
|
|
Group: DynoMotion |
Message: 1117 |
From: Tom Kerekes |
Date: 5/9/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Hi Troy,
Regarding the REF buttons. Did you follow the Ref Buttons instructions described here?
Regarding Soft Limits: those were handled by the parallel port driver and are not yet implemented.
TK
Group: DynoMotion |
Message: 1118 |
From: tmday7 |
Date: 5/9/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
I have Ref Buttons set and the HomeEncodersMach3 c. program.And when i hit any Ref Button, nothing comes up on the Kmotion Console.
Iam done for the night:)
Thanks,
Troy
--- Tom Kerekes wrote:
>
> Hi Troy,
>
> Regarding the REF buttons. Did you follow the Ref Buttons instructions
> described here?
>
> http://www.dynomotion.com/Help/Mach3Plugin/Mach3Encoders.htm
>
> Â
> Regarding Soft Limits: those were handled by the parallel port driver and are
> not yet implemented.
>
> TKÂ
>
>
>
>
> ________________________________
> From: tmday7 <tmday@...>
> To: DynoMotion@yahoogroups.com
> Sent: Mon, May 9, 2011 6:10:55 PM
> Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
>
> Â
> Scratch the VB button, i took the time and got my control panel to the point
> where i will add my switches and buttons as i need them.:)
> Ill let you know when i get Manual Mode switch up and going.
>
> Got a couple more issues.....
>
> 1) The Reference Buttons for each axis in Mach do not Referance the axis. The
> only machine Referance that happens is when Mach is first started, and where
> ever machine axis is setting at startup of Mach, is where its Referance or Home
> position is.
>
> 2) The Softlimits i have set in Mach are not working. Is this sumthin that needs
> to be set in the C Program?
>
> Thanks,
> Troy
>
> --- "tmday7" wrote:
> >
> > Youll have to fill me in, would i configure a button to toggle an output in
> >Mach? Kinda like the Flood Coolant button. Or is there VB to directly toggle the
> >bit? Drawin a blank here as how to what scripting needs to happen.
> > Thanks,
> > Troy
> >
> > ---Tom Kerekes wrote:
> > >
> > > Yes.Configure a Mach3 button to Toggle a KFLOP Output. You could use IO47
> > > which is the other KFLOP LED.
> > >
> > > TK
> > >
> > >
> > >
> > > ________________________________
> > > From: tmday7
> > >
> > > ÃÂ
> > > For temporary, can a VB button in Mach be made to do this?
> > >
> > > Thanks,
> > > Troy
> > >
> > > --- "tmday7"wrote:
> > >
> > > Ok. I remember that now.
> > > Ill let you know.
> > > Thanks,
> > > Troy
> > >
> > > ---Tom Kerekes wrote:
> > >
> > >Hi Troy,
> Yes you will need to wire in the Auto/Manual switch that the Mach3_CL_PMDX.c
> program is expecting to switch from Closed Loop to Open Loop and so forth.I
> think Mach3 shouldÃâàNOT be in reset while in Manual mode.I think the trick was
> that a Simulated EStop Bit (KFLOP IO46 - one of the LEDS) was created that Mach3
> was configured to monitor rather than the Raw Estop,signal coming from the PMDX.
> > > > >
> > > > >
> > > > > Regards,
> > > > > TK
>
|
|
Group: DynoMotion |
Message: 1119 |
From: Tom Kerekes |
Date: 5/10/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Hi Troy,
Do you have the Mach3 DynoMotion Plugin Configuration set to use that Home Program?
Maybe try the REF ALL HOME button on the standard Screen Set?
Regards
TK
Group: DynoMotion |
Message: 1120 |
From: tmday7 |
Date: 5/10/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Problem fixed,but not sure why :) I didnt change anything from where i left off last night.It may have been a reboot of Kflop and Mach3 or... i was just tired last night and missed sumthing. :)
Anyhow all is Referencing just fine.
As for Softlimits, let me know if i can help and test for you when you are ready to work on them.
Gonna do some more fine tunning of CL and some testing of Mach for any other issues i may have.
Thanks,
Troy
--- Tom Kerekes wrote:
>
> Hi Troy,
>
> Do you have the Mach3 DynoMotion Plugin Configuration set to use that Home
> Program?
>
> Maybe try the REF ALL HOME button on the standard Screen Set?
>
> Regards
> TK
>
>
>
>
> ________________________________
> From: tmday7 <tmday@...>
> To: DynoMotion@yahoogroups.com
> Sent: Mon, May 9, 2011 8:04:41 PM
> Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
>
> Â
> I have Ref Buttons set and the HomeEncodersMach3 c. program.And when i hit any
> Ref Button, nothing comes up on the Kmotion Console.
>
>
> Iam done for the night:)
>
> Thanks,
> Troy
>
>
> --- Tom Kerekes wrote:
> >
> > Hi Troy,
> >
> > Regarding the REF buttons.ÃÂ Did you follow the Ref Buttons instructions
> > described here?
> >
> > http://www.dynomotion.com/Help/Mach3Plugin/Mach3Encoders.htm
> >
> > ÃÂ
> > Regarding Soft Limits: those were handled by the parallel port driver and are
> > not yet implemented.
> >
> > TKÃÂ
> >
> >
> >
> >
> > ________________________________
> > From: tmday7 <tmday@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Mon, May 9, 2011 6:10:55 PM
> > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> >
> > ÃÂ
> > Scratch the VB button, i took the time and got my control panel to the point
> > where i will add my switches and buttons as i need them.:)
> > Ill let you know when i get Manual Mode switch up and going.
> >
> > Got a couple more issues.....
> >
> > 1) The Reference Buttons for each axis in Mach do not Referance the axis. The
> > only machine Referance that happens is when Mach is first started, and where
> > ever machine axis is setting at startup of Mach, is where its Referance or Home
> >
> > position is.
> >
> > 2) The Softlimits i have set in Mach are not working. Is this sumthin that
> >needs
> >
> > to be set in the C Program?
> >
> > Thanks,
> > Troy
> >
> > --- "tmday7" wrote:
> > >
> > > Youll have to fill me in, would i configure a button to toggle an output in
> > >Mach? Kinda like the Flood Coolant button. Or is there VB to directly toggle
> >the
> >
> > >bit? Drawin a blank here as how to what scripting needs to happen.
> > > Thanks,
> > > Troy
> > >
> > > ---Tom Kerekes wrote:
> > > >
> > > > Yes.Configure a Mach3 button to Toggle a KFLOP Output. You could use IO47
> > > > which is the other KFLOP LED.
> > > >
> > > > TK
> > > >
> > > >
> > > >
> > > > ________________________________
> > > > From: tmday7
> > > >
> > > > ÃâÃÂ
> > > > For temporary, can a VB button in Mach be made to do this?
> > > >
> > > > Thanks,
> > > > Troy
> > > >
> > > > --- "tmday7"wrote:
> > > >
> > > > Ok. I remember that now.
> > > > Ill let you know.
> > > > Thanks,
> > > > Troy
> > > >
> > > > ---Tom Kerekes wrote:
> > > >
> > > >Hi Troy,
> > Yes you will need to wire in the Auto/Manual switch that the Mach3_CL_PMDX.c
> > program is expecting to switch from Closed Loop to Open Loop and so forth.I
> > think Mach3 shouldÃÆ'ââ¬Å¡ÃâàNOT be in reset while in Manual mode.I think the
> >trick was
> >
> > that a Simulated EStop Bit (KFLOP IO46 - one of the LEDS) was created that
> >Mach3
> >
> > was configured to monitor rather than the Raw Estop,signal coming from the
> >PMDX.
> > > > > >
> > > > > >
> > > > > > Regards,
> > > > > > TK
> >
>
|
|
Group: DynoMotion |
Message: 1121 |
From: tmday7 |
Date: 5/10/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Ok. Got my Manual Mode switch wired up. But not working:( I wired one side of switch to pin 1 of Kflop and other side to pin 6 of Kflop. In Kmotion Digital I/O screen when flipping swith, the bit 45 toggles.
If i toggle bit 47 LED1, then manual mode enables in Mach and i can move axis with handwheels.
What am i missing? :)
Thanks,
Troy
--- "tmday7" wrote:
>
> Problem fixed,but not sure why :) I didnt change anything from where i left off last night.It may have been a reboot of Kflop and Mach3 or... i was just tired last night and missed sumthing. :)
> Anyhow all is Referencing just fine.
>
> As for Softlimits, let me know if i can help and test for you when you are ready to work on them.
>
> Gonna do some more fine tunning of CL and some testing of Mach for any other issues i may have.
>
> Thanks,
> Troy
>
> --- Tom Kerekes wrote:
> >
> > Hi Troy,
> >
> > Do you have the Mach3 DynoMotion Plugin Configuration set to use that Home
> > Program?
> >
> > Maybe try the REF ALL HOME button on the standard Screen Set?
> >
> > Regards
> > TK
> >
> >
> >
> >
> > ________________________________
> > From: tmday7 <tmday@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Mon, May 9, 2011 8:04:41 PM
> > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> >
> > Â
> > I have Ref Buttons set and the HomeEncodersMach3 c. program.And when i hit any
> > Ref Button, nothing comes up on the Kmotion Console.
> >
> >
> > Iam done for the night:)
> >
> > Thanks,
> > Troy
> >
> >
> > --- Tom Kerekes wrote:
> > >
> > > Hi Troy,
> > >
> > > Regarding the REF buttons.ÃÂ Did you follow the Ref Buttons instructions
> > > described here?
> > >
> > > http://www.dynomotion.com/Help/Mach3Plugin/Mach3Encoders.htm
> > >
> > > ÃÂ
> > > Regarding Soft Limits: those were handled by the parallel port driver and are
> > > not yet implemented.
> > >
> > > TKÃÂ
> > >
> > >
> > >
> > >
> > > ________________________________
> > > From: tmday7 <tmday@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Mon, May 9, 2011 6:10:55 PM
> > > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> > >
> > > ÃÂ
> > > Scratch the VB button, i took the time and got my control panel to the point
> > > where i will add my switches and buttons as i need them.:)
> > > Ill let you know when i get Manual Mode switch up and going.
> > >
> > > Got a couple more issues.....
> > >
> > > 1) The Reference Buttons for each axis in Mach do not Referance the axis. The
> > > only machine Referance that happens is when Mach is first started, and where
> > > ever machine axis is setting at startup of Mach, is where its Referance or Home
> > >
> > > position is.
> > >
> > > 2) The Softlimits i have set in Mach are not working. Is this sumthin that
> > >needs
> > >
> > > to be set in the C Program?
> > >
> > > Thanks,
> > > Troy
> > >
> > > --- "tmday7" wrote:
> > > >
> > > > Youll have to fill me in, would i configure a button to toggle an output in
> > > >Mach? Kinda like the Flood Coolant button. Or is there VB to directly toggle
> > >the
> > >
> > > >bit? Drawin a blank here as how to what scripting needs to happen.
> > > > Thanks,
> > > > Troy
> > > >
> > > > ---Tom Kerekes wrote:
> > > > >
> > > > > Yes.Configure a Mach3 button to Toggle a KFLOP Output. You could use IO47
> > > > > which is the other KFLOP LED.
> > > > >
> > > > > TK
> > > > >
> > > > >
> > > > >
> > > > > ________________________________
> > > > > From: tmday7
> > > > >
> > > > > ÃâÃÂ
> > > > > For temporary, can a VB button in Mach be made to do this?
> > > > >
> > > > > Thanks,
> > > > > Troy
> > > > >
> > > > > --- "tmday7"wrote:
> > > > >
> > > > > Ok. I remember that now.
> > > > > Ill let you know.
> > > > > Thanks,
> > > > > Troy
> > > > >
> > > > > ---Tom Kerekes wrote:
> > > > >
> > > > >Hi Troy,
> > > Yes you will need to wire in the Auto/Manual switch that the Mach3_CL_PMDX.c
> > > program is expecting to switch from Closed Loop to Open Loop and so forth.I
> > > think Mach3 shouldÃÆ'ââ¬Å¡ÃâàNOT be in reset while in Manual mode.I think the
> > >trick was
> > >
> > > that a Simulated EStop Bit (KFLOP IO46 - one of the LEDS) was created that
> > >Mach3
> > >
> > > was configured to monitor rather than the Raw Estop,signal coming from the
> > >PMDX.
> > > > > > >
> > > > > > >
> > > > > > > Regards,
> > > > > > > TK
> > >
> >
>
|
|
Group: DynoMotion |
Message: 1122 |
From: Tom Kerekes |
Date: 5/10/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
I think you need to change your Mach3_CL_PMDX.c program to have the MANUALBIT set to bit 45 if that is what you have a switch wired to.
change
#define MANUALBIT 47
to
#define MANUALBIT 45
TK
Group: DynoMotion |
Message: 1123 |
From: tmday7 |
Date: 5/11/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Changed to 45, but doesnt work. I noticed in the Digital I/O that the State is what toggles and not the Output.
Also, i wired up coolant pump and when trying to turn pump on and off from Mach, nothing happens. But if i toggle the bit in Kmotion then the pump turns on and off.
Troy
--- Tom Kerekeswrote:
>
> I think you need to change your Mach3_CL_PMDX.c program to have the MANUALBIT
> set to bit 45 if that is what you have a switch wired to.
>
> changeÂ
>
> #define MANUALBIT 47
>
> to
>
> #define MANUALBIT 45
>
> TK
>
>
> ________________________________
> From: tmday7 <tmday@...>
> To: DynoMotion@yahoogroups.com
> Sent: Tue, May 10, 2011 7:11:39 PM
> Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
>
> Â
> Ok. Got my Manual Mode switch wired up. But not working:( I wired one side of
> switch to pin 1 of Kflop and other side to pin 6 of Kflop. In Kmotion Digital
> I/O screen when flipping swith, the bit 45 toggles.
>
> If i toggle bit 47 LED1, then manual mode enables in Mach and i can move axis
> with handwheels.
> What am i missing? :)
> Thanks,
> Troy
>
> --- "tmday7" wrote:
> >
> > Problem fixed,but not sure why :) I didnt change anything from where i left off
> >last night.It may have been a reboot of Kflop and Mach3 or... i was just tired
> >last night and missed sumthing. :)
> > Anyhow all is Referencing just fine.
> >
> > As for Softlimits, let me know if i can help and test for you when you are
> >ready to work on them.
> >
> > Gonna do some more fine tunning of CL and some testing of Mach for any other
> >issues i may have.
> >
> > Thanks,
> > Troy
> >
> > --- Tom Kerekes wrote:
> > >
> > > Hi Troy,
> > >
> > > Do you have the Mach3 DynoMotion Plugin Configuration set to use that Home
> > > Program?
> > >
> > > Maybe try the REF ALL HOME button on the standard Screen Set?
> > >
> > > Regards
> > > TK
> > >
> > >
> > >
> > >
> > > ________________________________
> > > From: tmday7 <tmday@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Mon, May 9, 2011 8:04:41 PM
> > > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> > >
> > > ÃÂ
> > > I have Ref Buttons set and the HomeEncodersMach3 c. program.And when i hit
> >any
> >
> > > Ref Button, nothing comes up on the Kmotion Console.
> > >
> > >
> > > Iam done for the night:)
> > >
> > > Thanks,
> > > Troy
> > >
> > >
> > > --- Tom Kerekes wrote:
> > > >
> > > > Hi Troy,
> > > >
> > > > Regarding the REF buttons.ÃâàDid you follow the Ref Buttons instructions
>
> > > > described here?
> > > >
> > > > http://www.dynomotion.com/Help/Mach3Plugin/Mach3Encoders.htm
> > > >
> > > > ÃâÃÂ
> > > > Regarding Soft Limits: those were handled by the parallel port driver and
> >are
> >
> > > > not yet implemented.
> > > >
> > > > TKÃâÃÂ
> > > >
> > > >
> > > >
> > > >
> > > > ________________________________
> > > > From: tmday7 <tmday@>
> > > > To: DynoMotion@yahoogroups.com
> > > > Sent: Mon, May 9, 2011 6:10:55 PM
> > > > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> > > >
> > > > ÃâÃÂ
> > > > Scratch the VB button, i took the time and got my control panel to the
> >point
> >
> > > > where i will add my switches and buttons as i need them.:)
> > > > Ill let you know when i get Manual Mode switch up and going.
> > > >
> > > > Got a couple more issues.....
> > > >
> > > > 1) The Reference Buttons for each axis in Mach do not Referance the axis.
> >The
> >
> > > > only machine Referance that happens is when Mach is first started, and
> >where
> >
> > > > ever machine axis is setting at startup of Mach, is where its Referance or
> >Home
> >
> > > >
> > > > position is.
> > > >
> > > > 2) The Softlimits i have set in Mach are not working. Is this sumthin that
>
> > > >needs
> > > >
> > > > to be set in the C Program?
> > > >
> > > > Thanks,
> > > > Troy
> > > >
> > > > --- "tmday7" wrote:
> > > > >
> > > > > Youll have to fill me in, would i configure a button to toggle an output
> >in
> >
> > > > >Mach? Kinda like the Flood Coolant button. Or is there VB to directly
> >toggle
> >
> > > >the
> > > >
> > > > >bit? Drawin a blank here as how to what scripting needs to happen.
> > > > > Thanks,
> > > > > Troy
> > > > >
> > > > > ---Tom Kerekes wrote:
> > > > > >
> > > > > > Yes.Configure a Mach3 button to Toggle a KFLOP Output. You could use
> >IO47
> >
> > > > > > which is the other KFLOP LED.
> > > > > >
> > > > > > TK
> > > > > >
> > > > > >
> > > > > >
> > > > > > ________________________________
> > > > > > From: tmday7
> > > > > >
> > > > > > ÃÆ'ââ¬Å¡ÃâÃÂ
> > > > > > For temporary, can a VB button in Mach be made to do this?
> > > > > >
> > > > > > Thanks,
> > > > > > Troy
> > > > > >
> > > > > > --- "tmday7"wrote:
> > > > > >
> > > > > > Ok. I remember that now.
> > > > > > Ill let you know.
> > > > > > Thanks,
> > > > > > Troy
> > > > > >
> > > > > > ---Tom Kerekes wrote:
> > > > > >
> > > > > >Hi Troy,
> > > > Yes you will need to wire in the Auto/Manual switch that the
> >Mach3_CL_PMDX.c
> >
> > > > program is expecting to switch from Closed Loop to Open Loop and so forth.I
> >
> > > > think Mach3 shouldÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡ÃâàNOT be in reset while in Manual
> >mode.I think the
> >
> > > >trick was
> > > >
> > > > that a Simulated EStop Bit (KFLOP IO46 - one of the LEDS) was created that
>
> > > >Mach3
> > > >
> > > > was configured to monitor rather than the Raw Estop,signal coming from the
>
> > > >PMDX.
> > > > > > > >
> > > > > > > >
> > > > > > > > Regards,
> > > > > > > > TK
> > > >
> > >
> >
>
|
|
Group: DynoMotion |
Message: 1124 |
From: Tom Kerekes |
Date: 5/11/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Hi Troy,
Can you be a bit more descriptive than "doesn't work". How do you have things configured in Mach3? What are you doing? What do you expect to happen? What actually does happen?
Thanks
TK
Group: DynoMotion |
Message: 1125 |
From: tmday7 |
Date: 5/11/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
"I think you need to change your Mach3_CL_PMDX.c program to have the MANUALBIT set to bit 45 if that is what you have a switch wired to."
After i did this and flipped switch to enable manual mode(changes from ClosedLoop to OpenLoop), Kmotion bit 45 STATE toggles, i then try to move axis with Handwheels,but Mach goes into Reset, which will not allow me to Zero axis.
If i go to Kmotion and toggle the bit 45 OUTPUT then i can move axis with handwheels and Mach does Not go into Reset.
How do i get the bit 45 OUTPUT to toggle by using the switch on pin 6 of Kflop? Right now the switch only toggles the STATE of bit 45.
As for Coolant pump, i got it:) Forgot that "When using the KMotion Plugin, Pin Numbers now correspond to KMotion IO Bit Numbers rather than Parallel port Pins." :)
Thanks,
Troy
--- Tom Kerekes wrote:
>
> Hi Troy,
>
> Can you be a bit more descriptive than "doesn't work". How do you have things
> configured in Mach3? What are you doing? What do you expect to happen? What
> actually does happen?
>
> Thanks
> TK
>
>
>
>
> ________________________________
> From: tmday7 <tmday@...>
> To: DynoMotion@yahoogroups.com
> Sent: Wed, May 11, 2011 8:51:44 AM
> Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
>
> Â
> Changed to 45, but doesnt work. I noticed in the Digital I/O that the State is
> what toggles and not the Output.
>
> Also, i wired up coolant pump and when trying to turn pump on and off from Mach,
> nothing happens. But if i toggle the bit in Kmotion then the pump turns on and
> off.
>
> Troy
>
> --- Tom Kerekeswrote:
> >
> > I think you need to change your Mach3_CL_PMDX.c program to have the MANUALBIT
> > set to bit 45 if that is what you have a switch wired to.
> >
> > changeÃÂ
> >
> > #define MANUALBIT 47
> >
> > to
> >
> > #define MANUALBIT 45
> >
> > TK
> >
> >
> > ________________________________
> > From: tmday7 <tmday@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Tue, May 10, 2011 7:11:39 PM
> > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> >
> > ÃÂ
> > Ok. Got my Manual Mode switch wired up. But not working:( I wired one side of
> > switch to pin 1 of Kflop and other side to pin 6 of Kflop. In Kmotion Digital
> > I/O screen when flipping swith, the bit 45 toggles.
> >
> > If i toggle bit 47 LED1, then manual mode enables in Mach and i can move axis
> > with handwheels.
> > What am i missing? :)
> > Thanks,
> > Troy
> >
> > --- "tmday7" wrote:
> > >
> > > Problem fixed,but not sure why :) I didnt change anything from where i left
> >off
> >
> > >last night.It may have been a reboot of Kflop and Mach3 or... i was just tired
> >
> > >last night and missed sumthing. :)
> > > Anyhow all is Referencing just fine.
> > >
> > > As for Softlimits, let me know if i can help and test for you when you are
> > >ready to work on them.
> > >
> > > Gonna do some more fine tunning of CL and some testing of Mach for any other
>
> > >issues i may have.
> > >
> > > Thanks,
> > > Troy
> > >
> > > --- Tom Kerekes wrote:
> > > >
> > > > Hi Troy,
> > > >
> > > > Do you have the Mach3 DynoMotion Plugin Configuration set to use that Home
>
> > > > Program?
> > > >
> > > > Maybe try the REF ALL HOME button on the standard Screen Set?
> > > >
> > > > Regards
> > > > TK
> > > >
> > > >
> > > >
> > > >
> > > > ________________________________
> > > > From: tmday7 <tmday@>
> > > > To: DynoMotion@yahoogroups.com
> > > > Sent: Mon, May 9, 2011 8:04:41 PM
> > > > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> > > >
> > > > ÃâÃÂ
> > > > I have Ref Buttons set and the HomeEncodersMach3 c. program.And when i hit
>
> > >any
> > >
> > > > Ref Button, nothing comes up on the Kmotion Console.
> > > >
> > > >
> > > > Iam done for the night:)
> > > >
> > > > Thanks,
> > > > Troy
> > > >
> > > >
> > > > --- Tom Kerekes wrote:
> > > > >
> > > > > Hi Troy,
> > > > >
> > > > > Regarding the REF buttons.ÃÆ'ââ¬Å¡ÃâàDid you follow the Ref Buttons
> >instructions
> >
> >
> > > > > described here?
> > > > >
> > > > > http://www.dynomotion.com/Help/Mach3Plugin/Mach3Encoders.htm
> > > > >
> > > > > ÃÆ'ââ¬Å¡ÃâÃÂ
> > > > > Regarding Soft Limits: those were handled by the parallel port driver and
> >
> > >are
> > >
> > > > > not yet implemented.
> > > > >
> > > > > TKÃÆ'ââ¬Å¡ÃâÃÂ
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > ________________________________
> > > > > From: tmday7 <tmday@>
> > > > > To: DynoMotion@yahoogroups.com
> > > > > Sent: Mon, May 9, 2011 6:10:55 PM
> > > > > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> > > > >
> > > > > ÃÆ'ââ¬Å¡ÃâÃÂ
> > > > > Scratch the VB button, i took the time and got my control panel to the
> > >point
> > >
> > > > > where i will add my switches and buttons as i need them.:)
> > > > > Ill let you know when i get Manual Mode switch up and going.
> > > > >
> > > > > Got a couple more issues.....
> > > > >
> > > > > 1) The Reference Buttons for each axis in Mach do not Referance the axis.
> >
> > >The
> > >
> > > > > only machine Referance that happens is when Mach is first started, and
> > >where
> > >
> > > > > ever machine axis is setting at startup of Mach, is where its Referance
> >or
> >
> > >Home
> > >
> > > > >
> > > > > position is.
> > > > >
> > > > > 2) The Softlimits i have set in Mach are not working. Is this sumthin
> >that
> >
> >
> > > > >needs
> > > > >
> > > > > to be set in the C Program?
> > > > >
> > > > > Thanks,
> > > > > Troy
> > > > >
> > > > > --- "tmday7" wrote:
> > > > > >
> > > > > > Youll have to fill me in, would i configure a button to toggle an
> >output
> >
> > >in
> > >
> > > > > >Mach? Kinda like the Flood Coolant button. Or is there VB to directly
> > >toggle
> > >
> > > > >the
> > > > >
> > > > > >bit? Drawin a blank here as how to what scripting needs to happen.
> > > > > > Thanks,
> > > > > > Troy
> > > > > >
> > > > > > ---Tom Kerekes wrote:
> > > > > > >
> > > > > > > Yes.Configure a Mach3 button to Toggle a KFLOP Output. You could use
>
> > >IO47
> > >
> > > > > > > which is the other KFLOP LED.
> > > > > > >
> > > > > > > TK
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > ________________________________
> > > > > > > From: tmday7
> > > > > > >
> > > > > > > ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡ÃâÃÂ
> > > > > > > For temporary, can a VB button in Mach be made to do this?
> > > > > > >
> > > > > > > Thanks,
> > > > > > > Troy
> > > > > > >
> > > > > > > --- "tmday7"wrote:
> > > > > > >
> > > > > > > Ok. I remember that now.
> > > > > > > Ill let you know.
> > > > > > > Thanks,
> > > > > > > Troy
> > > > > > >
> > > > > > > ---Tom Kerekes wrote:
> > > > > > >
> > > > > > >Hi Troy,
> > > > > Yes you will need to wire in the Auto/Manual switch that the
> > >Mach3_CL_PMDX.c
> > >
> > > > > program is expecting to switch from Closed Loop to Open Loop and so
> >forth.I
> >
> > >
> > > > > think Mach3 shouldÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡ÃâàNOT be in
> >reset while in Manual
> >
> > >mode.I think the
> > >
> > > > >trick was
> > > > >
> > > > > that a Simulated EStop Bit (KFLOP IO46 - one of the LEDS) was created
> >that
> >
> >
> > > > >Mach3
> > > > >
> > > > > was configured to monitor rather than the Raw Estop,signal coming from
> >the
> >
> >
> > > > >PMDX.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Regards,
> > > > > > > > > TK
> > > > >
> > > >
> > >
> >
>
|
|
Group: DynoMotion |
Message: 1126 |
From: Tom Kerekes |
Date: 5/11/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Hi Troy,
Thanks that gives me a better understanding of what is happening.
You should understand that the KFLOP I/O pins can be configured either as INPUTS or OUTPUTS. The column of check boxes with the heading OUTPUT indicates if the pin is to be an input or output. If the check box is checked it means that it is an Output and KFLOP is driving the voltage on the pin to be high or low. The STATE column indicates if the pin is currently high or low (checked indicates high). If the OUTPUT checkbox is unchecked the pin will be an input and will not be driven by KFLOP and will be in a "floating" state. A floating input will be in an unpredictable state. It might float high or low or even toggle on its own depending on what other signals are close by. It is the responsibility of an external device to drive the input to either a high or low level for it to be in a predictable state.
There are two problems with what you are describing:
#1 We are intending to use IO45 as an INPUT of the position of your Manual/Auto switch. Adding a switch between JP7 Pin6 (IO45) and JP7 Pin1 (3.3V) will indeed force the pin high when the switch is closed, but when the switch opens the pin will float and not necessarily go low. A (~1K Ohm) pull down resistor should be added to hold the pin low when the switch is open. Alternatively the first 8 I/O pins on JP4 and JP6 have internal pull down resistors (150 Ohms). So if you switch to use any of those 16 inputs you will not need to add an external pull down resistor.
#2 If you are driving an IO pin externally with a switch (or anything else) you should NOT select that as an OUTPUT. This can cause a fight between KFLOP trying to force the pin high or low and the external device trying to force the pin high or low. Whoever is stronger will win and may cause damage to the weaker driver.
Sorry for the long winded reply but I think we should fix these issues first then see where we are at.
Thanks
TK
Group: DynoMotion |
Message: 1127 |
From: tmday7 |
Date: 5/11/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
What i have know. I placed a 1k resistor on pin 6 bit45. When i close switch the STATE of bit45 toggles on and bit46 STATE toggles on for maybe 1 second then toggles off, the LED of bit46 confirms this.
I then Configured Ports/Pins in Mach, on Inputs tab i selected input #1 as port 1 pin 45. Now when i close switch (applying 3.3volts to pin 6 bit45)Mach will go into reset if i move axis with handwheels, but, when i open switch (removing 3.3v from pin 6 bit45)i can then move axis with handwheels and Mach does not go into Reset and i can use machine manually.
So is this the way we want it? Or should it be reversed, when switch is OPEN then Mach will go into Reset when axis is moved with handwheels?
Thanks,
Troy
--- Tom Kerekeswrote:
>
> Hi Troy,
>
> Thanks that gives me a better understanding of what is happening.
>
> You should understand that the KFLOP I/O pins can be configured either as INPUTS or OUTPUTS. The column of check boxes with the heading OUTPUT indicates if the pin is to be an input or output. If the check box is checked it means that it is an Output and KFLOP is driving the voltage on the pin to be high or low. The STATE column indicates if the pin is currently high or low (checked indicates
high). If the OUTPUT checkbox is unchecked the pin will be an input and will not be driven by KFLOP and will be in a "floating" state. A floating input will be in an unpredictable state. It might float high or low or even toggle on its own depending on what other signals are close by. It is the responsibility of an external device to drive the input to either a high or low level for it to be in a predictable state.
>
> There are two problems with what you are describing:
>
> #1 We are intending to use IO45 as an INPUT of the position of your Manual/Auto switch. Adding a switch between JP7 Pin6 (IO45) and JP7 Pin1 (3.3V) will indeed force the pin high when the switch is closed, but when the switch opens the pin will float and not necessarily go low.A (~1K Ohm) pull down resistor should be added to hold the pin low when the switch is open. Alternatively the first 8 I/O pins on JP4 and JP6 have internal pull down resistors (150 Ohms). So if you switch to use any of those 16 inputs you will not need to add an external pull down resistor.
>
> #2 If you are driving an IO pin externally with a switch (or anything else) you should NOT select that as an OUTPUT. This can cause a fight between KFLOP trying to force the pin high or low and the external device trying to force the pin high or low. Whoever is stronger will win and may cause damage to the weaker driver.Â
>
> Sorry for the long winded reply but I think we should fix these issues first then see where we are at.
>
> Thanks
> TK
>
>
>
>
> ________________________________
> From: tmday7 <tmday@...>
> To: DynoMotion@yahoogroups.com
> Sent: Wed, May 11, 2011 10:56:35 AM
> Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
>
> Â
> "I think you need to change your Mach3_CL_PMDX.c program to have the MANUALBIT
> set to bit 45 if that is what you have a switch wired to."
>
> After i did this and flipped switch to enable manual mode(changes from
> ClosedLoop to OpenLoop), Kmotion bit 45 STATE toggles, i then try to move axis
> with Handwheels,but Mach goes into Reset, which will not allow me to Zero axis.
>
> If i go to Kmotion and toggle the bit 45 OUTPUT then i can move axis with
> handwheels and Mach does Not go into Reset.
>
> How do i get the bit 45 OUTPUT to toggle by using the switch on pin 6 of Kflop?
> Right now the switch only toggles the STATE of bit 45.
>
> As for Coolant pump, i got it:) Forgot that "When using the KMotion Plugin, Pin
> Numbers now correspond to KMotion IO Bit Numbers rather than Parallel port
> Pins." :)
>
> Thanks,
> Troy
>
> --- Tom Kerekes wrote:
> >
> > Hi Troy,
> >
> > Can you be a bit more descriptive than "doesn't work".ÃÂ How do you have things
> >
> > configured in Mach3?ÃÂ What are you doing?ÃÂ What do you expect to happen? What
> >
> > actually does happen?
> >
> > Thanks
> > TK
> >
> >
> >
> >
> > ________________________________
> > From: tmday7 <tmday@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Wed, May 11, 2011 8:51:44 AM
> > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> >
> > ÃÂ
> > Changed to 45, but doesnt work. I noticed in the Digital I/O that the State is
>
> > what toggles and not the Output.
> >
> > Also, i wired up coolant pump and when trying to turn pump on and off from
> >Mach,
> >
> > nothing happens. But if i toggle the bit in Kmotion then the pump turns on and
>
> > off.
> >
> > Troy
> >
> > --- Tom Kerekeswrote:
> > >
> > > I think you need to change your Mach3_CL_PMDX.c program to have the MANUALBIT
> >
> > > set to bit 45 if that is what you have a switch wired to.
> > >
> > > changeÃâÃÂ
> > >
> > > #define MANUALBIT 47
> > >
> > > to
> > >
> > > #define MANUALBIT 45
> > >
> > > TK
> > >
> > >
> > > ________________________________
> > > From: tmday7 <tmday@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Tue, May 10, 2011 7:11:39 PM
> > > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> > >
> > > ÃâÃÂ
> > > Ok. Got my Manual Mode switch wired up. But not working:( I wired one side of
> >
> > > switch to pin 1 of Kflop and other side to pin 6 of Kflop. In Kmotion Digital
> >
> > > I/O screen when flipping swith, the bit 45 toggles.
> > >
> > > If i toggle bit 47 LED1, then manual mode enables in Mach and i can move axis
> >
> > > with handwheels.
> > > What am i missing? :)
> > > Thanks,
> > > Troy
|
|
Group: DynoMotion |
Message: 1128 |
From: Tom Kerekes |
Date: 5/11/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
ok I think that is the functionality we want. Closing the switch puts us in AUTO mode. When the Mach3_CL_PMDX.c program sees this it places KFLOP in Closed loop mode and Pulses the Simulated EStop to Mach3 (for some reason we decided that when transitioning back to Auto from Manual we should place Mach3 into EStop mode to force the Operator to Reset the System before continuing). If you move the handwheels in closed loop mode KFLOP detects a Following error and Disables the axis which in turn throws Mach3 into EStop mode. This is correct behavior.
Opening the switch puts us into Manual mode. When the Mach3_CL_PMDX.c program sees this it places KFLOP in Open loop mode. In Open loop mode KFLOP does not watch for following errors. This is correct behavior
Do you also have the Manual/Auto signal wired into the PMDX so it disables the amplifiers in Manual Mode but not in Auto Mode?
Defining Mach3 Input#1 when Input#1 that is never used doesn't do anything so I'm not sure why you did this.
What is the Mach3 EStop Input defined as? It should be set to Port 1 Pin 46 which is our Simulated EStop.
The raw EStop coming from the PMDX should be wired to IO14 (JP7 Pin 21) is that working?
TK
Group: DynoMotion |
Message: 1129 |
From: tmday7 |
Date: 5/11/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
So its ok to have 3.3v applied to pin 6 all the time?
"(for some reason we decided that when transitioning back to Auto from Manual we should place Mach3 into EStop mode to force the Operator to Reset the System before continuing)"
At that time,(On the TriOnics mill) doing this would update the Command DROs to what the Encoder DROs were reading, cause i remember telling you then, that was fine with me:)
But now, when i close switch,(Auto mode) there is no reset and the Command DROs automatically update to Encoder DROs.This is good also ;)
" Do you also have the Manual/Auto signal wired into the PMDX so it disables the amplifiers in Manual Mode but not in Auto Mode?"
No. I have a seperate switch for that, actually 2, 1 for X and Y, 2nd for Z axis.
"Defining Mach3 Input#1 when Input#1 that is never used doesn't do anything so I'm not sure why you did this."
When i said this it would not work until i set the ports and pins.So to double check i went back and removed the Ports/Pins settings , and now it works. ?!?! Only thing i have done is shut down Kmotion and Mach3.
"What is the Mach3 EStop Input defined as? It should be set to Port 1 Pin 46 which is our Simulated EStop."
I dont fully understand this one but,no its set at Port1 pin 14.
"The raw EStop coming from the PMDX should be wired to IO14 (JP7 Pin 21) is that working?" This is correct.
Thanks,
Troy
--- Tom Kerekes wrote:
>
> ok I think that is the functionality we want. Closing the switch puts us in AUTO mode. When the Mach3_CL_PMDX.c program sees this it places KFLOP in Closed loop mode and Pulses the Simulated EStop to Mach3 (for some reason we decided that when transitioning back to Auto from Manual we should place Mach3 into EStop mode to force the Operator to Reset the System before continuing).If you move the handwheels in closed loop mode KFLOP detects a Following error and
Disables the axis which in turn throws Mach3 into EStop mode. This is correct behavior.
>
> Opening the switch puts us into Manual mode. When the Mach3_CL_PMDX.c program sees this it places KFLOP in Open loop mode. In Open loop mode KFLOP does not watch for following errors. This is correct behavior
>
>
> Do you also have the Manual/Auto signal wired into the PMDX so it disables the amplifiers in Manual Mode but not in Auto Mode?
>
> Defining Mach3 Input#1 when Input#1 that is never used doesn't do anything so
> I'm not sure why you did this.
>
> What is the Mach3 EStop Input defined as? It should be set to Port 1 Pin 46 which is our Simulated EStop.
>
> The raw EStop coming from the PMDX should be wired to IO14 (JP7 Pin 21) is that working?Â
>
> TK
>
>
>
> ________________________________
> From: tmday7 <tmday@...>
> To: DynoMotion@yahoogroups.com
> Sent: Wed, May 11, 2011 3:21:22 PM
> Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
>
> Â
> What i have know. I placed a 1k resistor on pin 6 bit45. When i close switch the
> STATE of bit45 toggles on and bit46 STATE toggles on for maybe 1 second then
> toggles off, the LED of bit46 confirms this.
>
> I then Configured Ports/Pins in Mach, on Inputs tab i selected input #1 as port
> 1 pin 45. Now when i close switch (applying 3.3volts to pin 6 bit45)Mach will go
> into reset if i move axis with handwheels, but, when i open switch (removing
> 3.3v from pin 6 bit45)i can then move axis with handwheels and Mach does not go
> into Reset and i can use machine manually.
>
> So is this the way we want it? Or should it be reversed, when switch is OPEN
> then Mach will go into Reset when axis is moved with handwheels?
>
> Thanks,
> Troy
>
> --- Tom Kerekeswrote:
> >
> > Hi Troy,
> >
> > Thanks that gives me a better understanding of what is happening.
> >
> > You should understand that the KFLOP I/O pins can be configured either as
> >INPUTS or OUTPUTS. The column of check boxes with the heading OUTPUT indicates
> >if the pin is to be an input or output.ÃÂ If the check box is checked it means
> >that it is an Output and KFLOP is driving the voltage on the pin to be high or
> >low.ÃÂ The STATE column indicates if the pin is currently high or low (checked
> >indicates
> >
> high). If the OUTPUT checkbox is uncheckedÃÂ the pinÃÂ will beÃÂ an input and will
> not be driven by KFLOP and will be in a "floating" state.ÃÂ A floating input
> will be in an unpredictable state.ÃÂ It might float high or low or even toggle
> on its own depending on what other signals are close by.ÃÂ It is the
> responsibility of an external device to driveÃÂ the inputÃÂ to either a high or
> low level for it to be in a predictable state.
> >
> > There are two problems with what you are describing:
> >
> > #1ÃÂ We are intending to use IO45 as an INPUT of the position of your
> >Manual/Auto switch.ÃÂ Adding a switch between JP7 Pin6 (IO45) and JP7 Pin1
> >(3.3V) will indeed force the pin high when the switch is closed, but when the
> >switch opens theÃÂ pin will float and not necessarily go low.A (~1K Ohm) pull
> >down resistor should be addedÃÂ to hold the pin low when the switch is open.ÃÂ
> >Alternatively the first 8 I/O pins on JP4 and JP6 have internal pull down
> >resistors (150 Ohms).ÃÂ So if you switch to use any of those 16 inputs you will
> >not need to add an external pull down resistor.
> >
> > #2 If you are driving an IO pin externally with a switch (or anything else) you
> >should NOT select that as an OUTPUT.ÃÂ This can cause a fight between KFLOP
> >trying to force the pin high or low and the external device trying to force the
> >pin high or low.ÃÂ Whoever is stronger will win and may cause damage to the
> >weaker driver.ÃÂ
> >
> >
> > Sorry for the long winded reply but I think we should fix these issues first
> >then see where we are at.
> >
> > Thanks
> > TK
> >
> >
> >
> >
> > ________________________________
> > From: tmday7 <tmday@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Wed, May 11, 2011 10:56:35 AM
> > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> >
> > ÃÂ
> > "I think you need to change your Mach3_CL_PMDX.c program to have the MANUALBIT
>
> > set to bit 45 if that is what you have a switch wired to."
> >
> > After i did this and flipped switch to enable manual mode(changes from
> > ClosedLoop to OpenLoop), Kmotion bit 45 STATE toggles, i then try to move axis
>
> > with Handwheels,but Mach goes into Reset, which will not allow me to Zero
> axis.
> >
> > If i go to Kmotion and toggle the bit 45 OUTPUT then i can move axis with
> > handwheels and Mach does Not go into Reset.
> >
> > How do i get the bit 45 OUTPUT to toggle by using the switch on pin 6 of Kflop?
> >
> > Right now the switch only toggles the STATE of bit 45.
> >
> > As for Coolant pump, i got it:) Forgot that "When using the KMotion Plugin, Pin
> >
> > Numbers now correspond to KMotion IO Bit Numbers rather than Parallel port
> > Pins." :)
> >
> > Thanks,
> > Troy
> >
> > --- Tom Kerekes wrote:
> > >
> > > Hi Troy,
> > >
> > > Can you be a bit more descriptive than "doesn't work".ÃâàHow do you have
> >things
> >
> > >
> > > configured in Mach3?ÃâàWhat are you doing?ÃâàWhat do you expect to
> >happen? What
> >
> > >
> > > actually does happen?
> > >
> > > Thanks
> > > TK
> > >
> > >
> > >
> > >
> > > ________________________________
> > > From: tmday7 <tmday@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Wed, May 11, 2011 8:51:44 AM
> > > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> > >
> > > ÃâÃÂ
> > > Changed to 45, but doesnt work. I noticed in the Digital I/O that the State
> >is
> >
> >
> > > what toggles and not the Output.
> > >
> > > Also, i wired up coolant pump and when trying to turn pump on and off from
> > >Mach,
> > >
> > > nothing happens. But if i toggle the bit in Kmotion then the pump turns on
> >and
> >
> >
> > > off.
> > >
> > > Troy
> > >
> > > --- Tom Kerekeswrote:
> > > >
> > > > I think you need to change your Mach3_CL_PMDX.c program to have the
> >MANUALBIT
> >
> > >
> > > > set to bit 45 if that is what you have a switch wired to.
> > > >
> > > > changeÃÆ'ââ¬Å¡ÃâÃÂ
> > > >
> > > > #define MANUALBIT 47
> > > >
> > > > to
> > > >
> > > > #define MANUALBIT 45
> > > >
> > > > TK
> > > >
> > > >
> > > > ________________________________
> > > > From: tmday7 <tmday@>
> > > > To: DynoMotion@yahoogroups.com
> > > > Sent: Tue, May 10, 2011 7:11:39 PM
> > > > Subject: [DynoMotion] Re: KFLOP Setup on a Mill/Drill
> > > >
> > > > ÃÆ'ââ¬Å¡ÃâÃÂ
> > > > Ok. Got my Manual Mode switch wired up. But not working:( I wired one side
> >of
> >
> > >
> > > > switch to pin 1 of Kflop and other side to pin 6 of Kflop. In Kmotion
> >Digital
> >
> > >
> > > > I/O screen when flipping swith, the bit 45 toggles.
> > > >
> > > > If i toggle bit 47 LED1, then manual mode enables in Mach and i can move
> >axis
> >
> > >
> > > > with handwheels.
> > > > What am i missing? :)
> > > > Thanks,
> > > > Troy
>
|
|
Group: DynoMotion |
Message: 1130 |
From: Tom Kerekes |
Date: 5/11/2011 |
Subject: Re: KFLOP Setup on a Mill/Drill |
Hi Troy,
Now you have Mach3 looking at the "raw" EStop coming from the PMDX board rather than our "Simulated" EStop.
The reason we came up with the "Simulated" Estop signal was because of an issue with the PMDX board. When operating in Manual Mode we sent the Disable Signal to the PMDX board to disable the amplifiers. But this caused the PMDX to force its EStop signal which in turn threw Mach3 into EStop. While Mach3 is in EStop certain functions like RESET X and such wouldn't work properly. Also I don't think Mach3 should be blinking EStop just because it is in Manual Mode.
So now I'm confused. You have Mach3 watching the raw EStop from the PMDX and you can switch the PMDX to disable and enable mode without causing Mach3 to EStop?
Thanks
TK
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |